Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009313, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001525, allocations: 184.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3618/0.3618, allocations: 43.57 MB / 315 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005429, allocations: 16 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 58.86 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002058/0.1375, allocations: 1.562 MB / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1388, allocations: 0.8626 MB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.1389, allocations: 3.938 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.1393, allocations: 211.5 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.1396, allocations: 163.5 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.14, allocations: 135.8 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1403, allocations: 215.3 kB / 446.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1404, allocations: 25.53 kB / 446.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1405, allocations: 99.59 kB / 446.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1407, allocations: 147.5 kB / 446.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.1408, allocations: 4 kB / 446.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1409, allocations: 39.98 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.141, allocations: 55.81 kB / 447 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1411, allocations: 109 kB / 447.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1414, allocations: 203.5 kB / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1414, allocations: 0 / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1414, allocations: 0 / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1414, allocations: 0 / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007527/0.1421, allocations: 0.5137 MB / 447.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1422, allocations: 8.031 kB / 447.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.1422, allocations: 24.66 kB / 447.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1426, allocations: 284 kB / 448.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1426, allocations: 8.359 kB / 448.1 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1426, allocations: 8.125 kB / 448.1 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1429, allocations: 95.36 kB / 448.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1429, allocations: 4 kB / 448.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1429, allocations: 4 kB / 448.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1429, allocations: 0 / 448.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1431, allocations: 43.91 kB / 448.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1436, allocations: 445 kB / 448.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1439, allocations: 117.3 kB / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.144, allocations: 37.7 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.144, allocations: 4 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1443, allocations: 120.9 kB / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1443, allocations: 0 / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000889/0.1452, allocations: 359.8 kB / 449.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.1453, allocations: 89.05 kB / 449.4 MB, free: 6.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.1457, allocations: 428.5 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1458, allocations: 29.7 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.1459, allocations: 160.2 kB / 450 MB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.1459, allocations: 55.28 kB / 450 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.146, allocations: 21.7 kB / 450.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1461, allocations: 342.8 kB / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.1462, allocations: 39.97 kB / 450.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1463, allocations: 71.42 kB / 450.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1465, allocations: 123.5 kB / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1465, allocations: 0 / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003056/0.1469, allocations: 181.2 kB / 450.8 MB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1469, allocations: 4 kB / 450.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1469, allocations: 8.062 kB / 450.8 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1469, allocations: 0 / 450.8 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1471, allocations: 31.98 kB / 450.8 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1471, allocations: 3.938 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.1472, allocations: 8 kB / 450.9 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1472, allocations: 8.75 kB / 450.9 MB, free: 5.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.1473, allocations: 165.7 kB / 451 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1474, allocations: 31.62 kB / 451.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.1475, allocations: 42.59 kB / 451.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1475, allocations: 4 kB / 451.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1475, allocations: 3.938 kB / 451.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1475, allocations: 0 / 451.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.1482, allocations: 0.6241 MB / 451.7 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.1483, allocations: 8 kB / 451.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.1483, allocations: 16.06 kB / 451.8 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1483, allocations: 4 kB / 451.8 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1483, allocations: 11.98 kB / 451.8 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1483, allocations: 3.938 kB / 451.8 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1483, allocations: 3.938 kB / 451.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1487, allocations: 368 kB / 452.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1488, allocations: 104.8 kB / 452.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.1488, allocations: 4 kB / 452.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1489, allocations: 8 kB / 452.3 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.149, allocations: 15.92 kB / 452.3 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.149, allocations: 15.98 kB / 452.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.1493, allocations: 311 kB / 452.6 MB, free: 3.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1493, allocations: 4 kB / 452.6 MB, free: 3.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1496, allocations: 47.98 kB / 452.6 MB, free: 3.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.1507, allocations: 473.6 kB / 453.1 MB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.151, allocations: 119.8 kB / 453.2 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.151, allocations: 0 / 453.2 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1511, allocations: 51.92 kB / 453.3 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.1517, allocations: 60.98 kB / 453.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.1524, allocations: 0.5445 MB / 453.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1528, allocations: 0.7674 MB / 454.6 MB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.979e-05/0.1528, allocations: 26.56 kB / 454.7 MB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1529, allocations: 31.42 kB / 454.7 MB, free: 1.184 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1529, allocations: 0 / 454.7 MB, free: 1.184 MB / 382.1 MB Notification: Performance of Templates: time 0.2257/0.3786, allocations: 2.55 MB / 457.2 MB, free: 45.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches