Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 97.95 kB / 17 MB, free: 6.418 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.0009714/0.0009715, allocations: 188.1 kB / 17.89 MB, free: 5.945 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.482/1.482, allocations: 223.3 MB / 241.9 MB, free: 14.51 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.2485/0.2485, allocations: 44.25 MB / 337.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 19.98 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002399/0.1507, allocations: 1.359 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1521, allocations: 0.7881 MB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.1522, allocations: 3.938 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1525, allocations: 51.86 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1527, allocations: 51.81 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.153, allocations: 79.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1531, allocations: 83.69 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.1532, allocations: 4 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.1533, allocations: 51.77 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.1534, allocations: 27.86 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1534, allocations: 0 / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.1535, allocations: 20 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1536, allocations: 31.84 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1536, allocations: 37.64 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1538, allocations: 92.03 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1538, allocations: 4 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1538, allocations: 0 / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1538, allocations: 0 / 474.3 MB, free: 10.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005825/0.1544, allocations: 414.7 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1545, allocations: 8.031 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1545, allocations: 11.91 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1548, allocations: 210.7 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1548, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1548, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.155, allocations: 53.62 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.155, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.155, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.557e-06/0.1551, allocations: 8 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.1551, allocations: 23.86 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.1554, allocations: 181.7 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1556, allocations: 54.61 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.1556, allocations: 16.86 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1557, allocations: 3.984 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1559, allocations: 71.34 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1559, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002919/0.1562, allocations: 97.42 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1562, allocations: 55.41 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1565, allocations: 258.3 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1565, allocations: 29.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.1566, allocations: 116.1 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1567, allocations: 7.906 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1567, allocations: 4 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1569, allocations: 326.8 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.1569, allocations: 12 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.157, allocations: 25.7 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.157, allocations: 20 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.157, allocations: 7.938 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001553/0.1572, allocations: 77.5 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1572, allocations: 11.95 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1572, allocations: 3.984 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1573, allocations: 3.984 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.1573, allocations: 11.94 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1574, allocations: 0 / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.1574, allocations: 15.84 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1574, allocations: 8.25 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1576, allocations: 130.4 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.1576, allocations: 11.91 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1577, allocations: 24.94 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1577, allocations: 0 / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1577, allocations: 4 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1577, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1579, allocations: 197.6 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1579, allocations: 0 / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.1579, allocations: 4 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1579, allocations: 3.938 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1579, allocations: 11.98 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.158, allocations: 3.953 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.158, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1581, allocations: 112.9 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.1582, allocations: 92.91 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1583, allocations: 4 kB / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.1583, allocations: 0 / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1584, allocations: 19.94 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1584, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1586, allocations: 192.5 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1588, allocations: 23.98 kB / 477.2 MB, free: 7.73 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.1598, allocations: 406.1 kB / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.16, allocations: 43.92 kB / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.16, allocations: 4.062 kB / 477.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.1601, allocations: 19.98 kB / 477.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1603, allocations: 19.98 kB / 477.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.1609, allocations: 269.8 kB / 478 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1612, allocations: 0.7121 MB / 478.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.1613, allocations: 16.41 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1613, allocations: 15.44 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1613, allocations: 0 / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004356/0.1657, allocations: 1.411 MB / 480.1 MB, free: 4.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches