Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001782/0.001783, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.692/1.692, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2392/0.2392, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 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.001756/0.001756, allocations: 70.89 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004082/0.1482, allocations: 1.689 MB / 443.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1497, allocations: 0.8039 MB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.1498, allocations: 4 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.1502, allocations: 83.7 kB / 444.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1505, allocations: 75.7 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1507, allocations: 83.77 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1509, allocations: 107.7 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1511, allocations: 12.23 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1512, allocations: 51.77 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1513, allocations: 55.77 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1514, allocations: 4 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1515, allocations: 47.97 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.1516, allocations: 19.92 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.282e-05/0.1517, allocations: 31.75 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1519, allocations: 119.6 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.152, allocations: 0 / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.152, allocations: 0 / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.152, allocations: 4 kB / 445.1 MB, free: 2.918 MB / 318.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.0007404/0.1527, allocations: 422.9 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1528, allocations: 11.89 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1529, allocations: 12.75 kB / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1533, allocations: 212.1 kB / 445.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1533, allocations: 4.375 kB / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1534, allocations: 4.125 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1536, allocations: 53.67 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1536, allocations: 7.984 kB / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1536, allocations: 4 kB / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1536, allocations: 0 / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.1537, allocations: 19.92 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1543, allocations: 292.7 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1545, allocations: 58.69 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.1545, allocations: 24.84 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1546, allocations: 0 / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1548, allocations: 71.33 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 4.058e-06/0.1548, allocations: 3.938 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00061/0.1554, allocations: 181.1 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.1555, allocations: 51.41 kB / 446.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1557, allocations: 215.6 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1557, allocations: 29.69 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1558, allocations: 100.1 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.1559, allocations: 27.64 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1559, allocations: 21.72 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.156, allocations: 326.8 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.1561, allocations: 23.98 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.1562, allocations: 37.7 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.1563, allocations: 65.64 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1563, allocations: 0 / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001532/0.1564, allocations: 93.5 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1565, allocations: 9.188 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1565, allocations: 4 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1565, allocations: 0 / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.1566, allocations: 20.02 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1566, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1567, allocations: 11.94 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1567, allocations: 4 kB / 447.5 MB, free: 316 kB / 318.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.0001048/0.1568, allocations: 129.4 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1568, allocations: 15.91 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1569, allocations: 17.39 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1569, allocations: 7.984 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1569, allocations: 0 / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1569, allocations: 7.938 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.1575, allocations: 399.4 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1575, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1575, allocations: 11.94 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1575, allocations: 384 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1575, allocations: 11.92 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1576, allocations: 4 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1576, allocations: 0 / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1578, allocations: 208.2 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.1579, allocations: 88.92 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.158, allocations: 4.125 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.158, allocations: 7.984 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.1581, allocations: 11.94 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1581, allocations: 4 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1583, allocations: 163.2 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1583, allocations: 0 / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1586, allocations: 27.98 kB / 448.6 MB, free: 15.11 MB / 334.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.001301/0.1599, allocations: 459.7 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1601, allocations: 59.91 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1601, allocations: 0 / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.1602, allocations: 28 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1605, allocations: 23.97 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.1611, allocations: 247.1 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1615, allocations: 0.7118 MB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.1615, allocations: 17.17 kB / 450.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1616, allocations: 15.44 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1616, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004955/0.1665, allocations: 1.708 MB / 451.9 MB, free: 11.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches