Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001089, allocations: 102.8 kB / 16.02 MB, free: 76 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.001659/0.001659, allocations: 185.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 223.1 MB, free: 5.77 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.4882/0.4882, allocations: 43.57 MB / 315 MB, free: 8.66 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.0005292/0.0005292, allocations: 24.56 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002884/0.1495, allocations: 1.554 MB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1514, allocations: 0.8703 MB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1516, allocations: 3.938 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.152, allocations: 147.7 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1524, allocations: 119.6 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1528, allocations: 135.8 kB / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1532, allocations: 207.4 kB / 446.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1533, allocations: 25.53 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1535, allocations: 91.61 kB / 446.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.1538, allocations: 123.5 kB / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.1538, allocations: 0 / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.154, allocations: 43.98 kB / 446.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1541, allocations: 51.83 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1542, allocations: 97.12 kB / 446.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1545, allocations: 191.5 kB / 447.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1545, allocations: 0 / 447.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1545, allocations: 0 / 447.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1546, allocations: 0 / 447.1 MB, free: 9.004 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008445/0.1554, allocations: 494.3 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.1555, allocations: 12.03 kB / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.1556, allocations: 24.56 kB / 447.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.156, allocations: 263.6 kB / 447.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.156, allocations: 12.31 kB / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.156, allocations: 8.125 kB / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1563, allocations: 99.34 kB / 448 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1563, allocations: 0 / 448 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1563, allocations: 0 / 448 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1564, allocations: 0 / 448 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1565, allocations: 47.91 kB / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.1571, allocations: 436.9 kB / 448.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.1574, allocations: 125.3 kB / 448.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.1575, allocations: 37.7 kB / 448.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.1575, allocations: 7.984 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1578, allocations: 116.9 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.1578, allocations: 4 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009531/0.1588, allocations: 352.6 kB / 449.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1589, allocations: 89.03 kB / 449.2 MB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.1593, allocations: 347 kB / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1593, allocations: 29.7 kB / 449.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1594, allocations: 140.4 kB / 449.7 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.1595, allocations: 47.36 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1595, allocations: 17.72 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1597, allocations: 346.8 kB / 450.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1598, allocations: 39.98 kB / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1599, allocations: 67.41 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.1601, allocations: 127.3 kB / 450.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1601, allocations: 0 / 450.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003227/0.1605, allocations: 177.4 kB / 450.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1605, allocations: 4 kB / 450.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.1605, allocations: 4 kB / 450.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1605, allocations: 3.938 kB / 450.5 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1608, allocations: 36.17 kB / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1608, allocations: 3.938 kB / 450.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1609, allocations: 16.05 kB / 450.5 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1609, allocations: 12 kB / 450.6 MB, free: 5.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001458/0.1611, allocations: 149.8 kB / 450.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1611, allocations: 23.72 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.1612, allocations: 29.73 kB / 450.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1612, allocations: 4 kB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1612, allocations: 3.938 kB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1612, allocations: 3.984 kB / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.1621, allocations: 0.6202 MB / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1621, allocations: 3.938 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1622, allocations: 20 kB / 451.4 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1622, allocations: 3.938 kB / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1622, allocations: 7.984 kB / 451.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1622, allocations: 4 kB / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1622, allocations: 8 kB / 451.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1627, allocations: 360 kB / 451.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.1628, allocations: 104.8 kB / 451.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1628, allocations: 4 kB / 451.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.163, allocations: 12 kB / 451.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.163, allocations: 11.97 kB / 451.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.1631, allocations: 12 kB / 451.9 MB, free: 3.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.1633, allocations: 261.9 kB / 452.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.664e-06/0.1633, allocations: 0 / 452.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1637, allocations: 43.94 kB / 452.2 MB, free: 3.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001206/0.1649, allocations: 473.9 kB / 452.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.1652, allocations: 115.9 kB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1653, allocations: 0 / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1654, allocations: 68.44 kB / 452.9 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.166, allocations: 60.91 kB / 452.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.1669, allocations: 489.5 kB / 453.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1673, allocations: 0.7518 MB / 454.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1674, allocations: 29.94 kB / 454.2 MB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1674, allocations: 35.42 kB / 454.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1675, allocations: 0 / 454.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of Templates: time 0.2208/0.3882, allocations: 2.507 MB / 456.7 MB, free: 45.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches