Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001469/0.001469, allocations: 194 kB / 18.12 MB, free: 5.363 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.471/1.471, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2162/0.2162, allocations: 44.16 MB / 336.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 64.5 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003286/0.1408, allocations: 1.795 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1423, allocations: 0.8809 MB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.1424, allocations: 0 / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.1427, allocations: 115.7 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.143, allocations: 67.78 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1433, allocations: 103.8 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1435, allocations: 123.7 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1436, allocations: 12 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.1437, allocations: 59.75 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1438, allocations: 71.73 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1438, allocations: 4 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1439, allocations: 51.98 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.144, allocations: 31.84 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.1441, allocations: 51.67 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1443, allocations: 143.8 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1443, allocations: 0 / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1443, allocations: 0 / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1443, allocations: 0 / 472 MB, free: 11.31 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005674/0.1449, allocations: 458.7 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.145, allocations: 16.03 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.145, allocations: 12.75 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1453, allocations: 223.8 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1453, allocations: 8.375 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1453, allocations: 8.125 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1455, allocations: 69.66 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1455, allocations: 7.875 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1455, allocations: 0 / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1455, allocations: 4 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1457, allocations: 35.97 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.1461, allocations: 332.6 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1464, allocations: 78.48 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.1464, allocations: 28.84 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1465, allocations: 4 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.1467, allocations: 79.31 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1467, allocations: 0 / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008979/0.1476, allocations: 304 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1476, allocations: 55.41 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1479, allocations: 243.2 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1479, allocations: 29.7 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.148, allocations: 124 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.1481, allocations: 43.58 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.1481, allocations: 29.72 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1483, allocations: 330.8 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1484, allocations: 39.98 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.1485, allocations: 60.31 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1487, allocations: 105.7 kB / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1487, allocations: 0 / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002798/0.149, allocations: 157.4 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.149, allocations: 6.344 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.149, allocations: 0 / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.149, allocations: 7.938 kB / 474.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.1491, allocations: 24.83 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1491, allocations: 0 / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.1492, allocations: 12.12 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1492, allocations: 11.94 kB / 474.9 MB, free: 8.191 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 (16): * Single equations (assignments): 16 * 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.0001342/0.1493, allocations: 138.3 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.1494, allocations: 23.72 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.1495, allocations: 17.53 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1495, allocations: 3.938 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1495, allocations: 7.984 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1495, allocations: 3.938 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.1501, allocations: 0.4961 MB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1501, allocations: 3.938 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.1502, allocations: 19.98 kB / 475.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1502, allocations: 0 / 475.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1502, allocations: 4 kB / 475.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1502, allocations: 0 / 475.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1502, allocations: 4 kB / 475.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1506, allocations: 271.3 kB / 475.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1506, allocations: 88.92 kB / 476 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1507, allocations: 8 kB / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.1508, allocations: 7.984 kB / 476 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1508, allocations: 11.98 kB / 476 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1509, allocations: 8 kB / 476 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.151, allocations: 188.2 kB / 476.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.151, allocations: 0 / 476.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1513, allocations: 32 kB / 476.2 MB, free: 6.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001215/0.1525, allocations: 0.5165 MB / 476.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1528, allocations: 107.8 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1528, allocations: 4.062 kB / 476.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1529, allocations: 55.91 kB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1533, allocations: 23.98 kB / 476.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.1538, allocations: 366.5 kB / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1541, allocations: 0.7204 MB / 478 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.1542, allocations: 33.34 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.1543, allocations: 23.42 kB / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1543, allocations: 0 / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of Templates: time 0.005492/0.1598, allocations: 2.093 MB / 480.2 MB, free: 2.992 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches