Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.0009256/0.000926, allocations: 172.2 kB / 18.25 MB, free: 5.527 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.425/1.425, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2059/0.2059, allocations: 44.24 MB / 337.7 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003862, allocations: 15.28 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 61.93 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002506/0.1463, allocations: 1.413 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1479, allocations: 0.8421 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.148, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.1485, allocations: 83.81 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1487, allocations: 59.8 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1492, allocations: 99.77 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1495, allocations: 103.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1497, allocations: 12.22 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1498, allocations: 47.78 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.15, allocations: 55.81 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.15, allocations: 4 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1502, allocations: 39.92 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.1503, allocations: 19.91 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.1504, allocations: 57.45 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.1507, allocations: 115.9 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.1508, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1508, allocations: 3.938 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1508, allocations: 3.938 kB / 475.2 MB, free: 10.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000868/0.1517, allocations: 411.1 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/0.1517, allocations: 8.031 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.1518, allocations: 12.84 kB / 475.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1522, allocations: 211.9 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1522, allocations: 4.375 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1522, allocations: 8.109 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1524, allocations: 53.67 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1525, allocations: 4 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1525, allocations: 4 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1525, allocations: 0 / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.1526, allocations: 19.98 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.1532, allocations: 288.8 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1535, allocations: 54.67 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1536, allocations: 20.86 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1536, allocations: 4 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1538, allocations: 63.39 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1538, allocations: 3.938 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006216/0.1545, allocations: 177.4 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1545, allocations: 55.41 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1548, allocations: 227.1 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1548, allocations: 25.7 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1549, allocations: 108 kB / 476.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.155, allocations: 31.62 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.155, allocations: 13.72 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1552, allocations: 326.8 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.1552, allocations: 23.98 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.1553, allocations: 33.7 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1554, allocations: 61.7 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1554, allocations: 0 / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1556, allocations: 97.53 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1557, allocations: 10.5 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1557, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1557, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1558, allocations: 19.92 kB / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1558, allocations: 8.031 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1559, allocations: 4.125 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.1559, allocations: 4 kB / 477.6 MB, free: 7.742 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001069/0.156, allocations: 133.8 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.156, allocations: 11.81 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1561, allocations: 21.39 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1561, allocations: 0 / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1561, allocations: 0 / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1561, allocations: 3.938 kB / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.1566, allocations: 395.3 kB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1566, allocations: 0 / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1566, allocations: 11.98 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1566, allocations: 0 / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1567, allocations: 11.94 kB / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1567, allocations: 0 / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1567, allocations: 240 / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1569, allocations: 212.1 kB / 478.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.157, allocations: 93 kB / 478.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.157, allocations: 7.938 kB / 478.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1571, allocations: 0 / 478.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1571, allocations: 11.98 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1572, allocations: 7.938 kB / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1573, allocations: 159.2 kB / 478.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1573, allocations: 0 / 478.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1576, allocations: 28 kB / 478.6 MB, free: 6.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001338/0.1589, allocations: 452.4 kB / 479.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1592, allocations: 67.95 kB / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1592, allocations: 0 / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.1593, allocations: 31.92 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1596, allocations: 27.92 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.1603, allocations: 278.1 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1607, allocations: 0.7043 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.1608, allocations: 21.17 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1608, allocations: 15.44 kB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1608, allocations: 0 / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.005176/0.166, allocations: 1.635 MB / 481.9 MB, free: 3.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches