Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 97.53 kB / 18.01 MB, free: 5.734 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.0008526/0.0008527, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.329/1.329, allocations: 223.3 MB / 242.9 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.24 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005294, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1463, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002696/0.149, allocations: 1.413 MB / 474.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1507, allocations: 0.846 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1509, allocations: 4 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1512, allocations: 35.88 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1515, allocations: 63.75 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1518, allocations: 91.66 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.1521, allocations: 95.69 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1522, allocations: 16.22 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1524, allocations: 43.77 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.1525, allocations: 27.86 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1525, allocations: 4 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1526, allocations: 47.91 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1527, allocations: 19.92 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1528, allocations: 61.44 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.153, allocations: 92.03 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.153, allocations: 0 / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.153, allocations: 0 / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.153, allocations: 0 / 475.8 MB, free: 10.45 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.0005973/0.1536, allocations: 405.3 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1536, allocations: 12.03 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.1537, allocations: 12.84 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.154, allocations: 220.4 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.154, allocations: 4.375 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.154, allocations: 8.125 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1542, allocations: 53.67 kB / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1542, allocations: 0 / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1542, allocations: 0 / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1543, allocations: 0 / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.1543, allocations: 23.92 kB / 476.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1548, allocations: 296.8 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.155, allocations: 58.67 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.1551, allocations: 20.84 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1551, allocations: 0 / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1553, allocations: 71.39 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1553, allocations: 4 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.1559, allocations: 173.1 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.156, allocations: 55.39 kB / 477.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1562, allocations: 218.7 kB / 477.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1563, allocations: 37.64 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1563, allocations: 108.1 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1564, allocations: 31.62 kB / 477.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1564, allocations: 17.72 kB / 477.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1565, allocations: 326.8 kB / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1566, allocations: 23.98 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.1567, allocations: 37.64 kB / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1568, allocations: 53.7 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1568, allocations: 4 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.157, allocations: 105.4 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1571, allocations: 4 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1571, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1571, allocations: 4 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.1572, allocations: 20.3 kB / 478.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1572, allocations: 0 / 478.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.1573, allocations: 11.94 kB / 478.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1573, allocations: 8 kB / 478.2 MB, free: 7.828 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.0001187/0.1574, allocations: 129.9 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1575, allocations: 11.81 kB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.1575, allocations: 25.39 kB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1575, allocations: 0 / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1575, allocations: 0 / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1575, allocations: 3.938 kB / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.1581, allocations: 399.3 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1581, allocations: 0 / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.1581, allocations: 11.98 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1581, allocations: 3.938 kB / 478.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1581, allocations: 3.938 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1582, allocations: 4 kB / 478.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1582, allocations: 3.984 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1584, allocations: 208.4 kB / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1585, allocations: 89 kB / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1585, allocations: 3.938 kB / 479 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.1586, allocations: 8 kB / 479 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1587, allocations: 7.984 kB / 479 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1587, allocations: 4 kB / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1588, allocations: 168.3 kB / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1588, allocations: 0 / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1591, allocations: 23.98 kB / 479.2 MB, free: 6.637 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.001149/0.1603, allocations: 467.5 kB / 479.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1605, allocations: 63.91 kB / 479.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1605, allocations: 8 kB / 479.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.1606, allocations: 31.92 kB / 479.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1609, allocations: 23.97 kB / 479.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.1615, allocations: 320 kB / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1618, allocations: 0.7083 MB / 480.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1619, allocations: 19.42 kB / 480.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1619, allocations: 0 / 480.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Templates: time 0.004135/0.166, allocations: 1.949 MB / 482.8 MB, free: 3.184 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches