Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.787/1.787, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3814/0.3814, allocations: 43.49 MB / 313.5 MB, free: 8.516 MB / 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.00144/0.00144, allocations: 67.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1519, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003428/0.1554, allocations: 1.752 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1568, allocations: 0.7963 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.1569, allocations: 4 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1572, allocations: 27.91 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1574, allocations: 47.77 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1577, allocations: 79.91 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1578, allocations: 91.62 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.158, allocations: 16.22 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.158, allocations: 35.8 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.1581, allocations: 39.83 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1582, allocations: 0 / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1583, allocations: 35.98 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1584, allocations: 19.92 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.1584, allocations: 31.69 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1586, allocations: 115.9 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1586, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1587, allocations: 3.938 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1587, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.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.0006913/0.1594, allocations: 415 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1594, allocations: 8.031 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1595, allocations: 12.84 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1598, allocations: 212 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1598, allocations: 4.375 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1598, allocations: 4.125 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.16, allocations: 57.61 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.16, allocations: 3.938 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.16, allocations: 4 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1601, allocations: 4 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.1601, allocations: 19.97 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1606, allocations: 288.9 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1608, allocations: 62.61 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.1609, allocations: 16.86 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1609, allocations: 4 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.1611, allocations: 67.3 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1611, allocations: 4 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005965/0.1617, allocations: 173.3 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1618, allocations: 51.41 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.162, allocations: 186.1 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.162, allocations: 33.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1621, allocations: 108.1 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1621, allocations: 19.72 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.1622, allocations: 21.7 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1623, allocations: 326.8 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.1624, allocations: 20 kB / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.1624, allocations: 37.64 kB / 445 MB, free: 9.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1626, allocations: 61.7 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1626, allocations: 0 / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001703/0.1627, allocations: 97.53 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1628, allocations: 8 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1628, allocations: 0 / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1628, allocations: 3.984 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.1629, allocations: 12 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1629, allocations: 4.188 kB / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.163, allocations: 7.969 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.163, allocations: 11.94 kB / 445.2 MB, free: 9.168 MB / 382.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.0001188/0.1631, allocations: 129.7 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1631, allocations: 7.906 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1632, allocations: 20.7 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1632, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1632, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1632, allocations: 3.938 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1636, allocations: 403.2 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1636, allocations: 0 / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.1637, allocations: 8.375 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1637, allocations: 0 / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1637, allocations: 11.92 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1637, allocations: 4 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1637, allocations: 0 / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.164, allocations: 208.2 kB / 446 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.164, allocations: 85.02 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1641, allocations: 7.938 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1641, allocations: 0 / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1642, allocations: 7.984 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1642, allocations: 4 kB / 446.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1644, allocations: 148 kB / 446.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1644, allocations: 4 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1646, allocations: 20 kB / 446.3 MB, free: 8.016 MB / 382.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.001125/0.1658, allocations: 469 kB / 446.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.166, allocations: 63.91 kB / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.166, allocations: 0 / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1661, allocations: 35.86 kB / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1664, allocations: 27.92 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.167, allocations: 245.3 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1673, allocations: 0.7004 MB / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1674, allocations: 16.88 kB / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1674, allocations: 23.42 kB / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1675, allocations: 0 / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005029/0.1725, allocations: 1.626 MB / 449.5 MB, free: 4.805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches