Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107.7 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 64.84 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003876/0.1466, allocations: 1.633 MB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000904/0.1475, allocations: 431.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.1476, allocations: 4 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.1483, allocations: 451.2 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1487, allocations: 239.6 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1492, allocations: 158.7 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1495, allocations: 159.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1496, allocations: 16.17 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1498, allocations: 107.7 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.15, allocations: 203.6 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1501, allocations: 0 / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1502, allocations: 27.98 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1503, allocations: 91.61 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.1504, allocations: 91.06 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1507, allocations: 235 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1507, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1507, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1507, allocations: 4 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007275/0.1514, allocations: 0.6301 MB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1515, allocations: 8.031 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.1516, allocations: 44.38 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1518, allocations: 300.1 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1519, allocations: 8.312 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1519, allocations: 384 / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1521, allocations: 65.61 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1521, allocations: 0 / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1521, allocations: 0 / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1521, allocations: 0 / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1522, allocations: 31.97 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.1528, allocations: 388.8 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1529, allocations: 54.48 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.153, allocations: 24.94 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1531, allocations: 0 / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1531, allocations: 30.56 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1531, allocations: 0 / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000348/0.1535, allocations: 137 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1535, allocations: 51.41 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/0.1543, allocations: 0.8574 MB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1543, allocations: 25.7 kB / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1545, allocations: 212.1 kB / 475.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1545, allocations: 3.906 kB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.1546, allocations: 17.72 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1547, allocations: 362.7 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.1548, allocations: 23.97 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.1549, allocations: 15.98 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.155, allocations: 44.83 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.155, allocations: 0 / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001967/0.1552, allocations: 109 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1553, allocations: 12 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1553, allocations: 0 / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1553, allocations: 0 / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.1554, allocations: 8 kB / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.1554, allocations: 0 / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.1555, allocations: 11.92 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1555, allocations: 4 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001945/0.1557, allocations: 210.2 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.1557, allocations: 39.77 kB / 476 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.156, allocations: 140.9 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1561, allocations: 7.938 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1561, allocations: 0 / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1561, allocations: 0 / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1564, allocations: 293.5 kB / 476.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1564, allocations: 0 / 476.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.1565, allocations: 7.984 kB / 476.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1565, allocations: 4 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1565, allocations: 4 kB / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1565, allocations: 0 / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1565, allocations: 0 / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1567, allocations: 203 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1568, allocations: 108.5 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1568, allocations: 0 / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.1569, allocations: 7.984 kB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.157, allocations: 4 kB / 476.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.157, allocations: 8 kB / 476.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006083/0.1576, allocations: 0.6472 MB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1579, allocations: 23.98 kB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008545/0.1587, allocations: 351.7 kB / 477.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1589, allocations: 39.95 kB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1589, allocations: 3.938 kB / 477.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.159, allocations: 19.98 kB / 477.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.1595, allocations: 25.95 kB / 477.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1607, allocations: 0.8555 MB / 478.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.1612, allocations: 0.8185 MB / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1613, allocations: 15.97 kB / 479.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1613, allocations: 11.44 kB / 479.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1613, allocations: 0 / 479.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004807/0.1661, allocations: 1.273 MB / 480.9 MB, free: 2.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches