Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 87.12 kB / 17.34 MB, free: 6.031 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.001182/0.001182, allocations: 167.7 kB / 18.25 MB, free: 5.391 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.551/1.551, allocations: 223.3 MB / 242.3 MB, free: 80 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.2252/0.2252, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 15.98 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002212/0.1394, allocations: 1.592 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.141, allocations: 0.9512 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.1411, allocations: 4 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1415, allocations: 147.7 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.1418, allocations: 119.6 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1422, allocations: 175.1 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1425, allocations: 211.4 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1426, allocations: 33.66 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1428, allocations: 95.55 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1429, allocations: 123.5 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.143, allocations: 4 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1431, allocations: 59.97 kB / 475.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1432, allocations: 51.83 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.1433, allocations: 101.1 kB / 475.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1435, allocations: 211.5 kB / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1435, allocations: 0 / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1436, allocations: 0 / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1436, allocations: 0 / 476.1 MB, free: 9.469 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000662/0.1442, allocations: 494.5 kB / 476.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.1443, allocations: 8.031 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.1444, allocations: 28.59 kB / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1447, allocations: 271.5 kB / 476.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.1448, allocations: 12.36 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1448, allocations: 12.03 kB / 476.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1451, allocations: 107.3 kB / 477 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1451, allocations: 4 kB / 477 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1451, allocations: 4 kB / 477 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1451, allocations: 0 / 477 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1453, allocations: 47.91 kB / 477.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1459, allocations: 468.7 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.1463, allocations: 117.2 kB / 477.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1464, allocations: 53.81 kB / 477.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1464, allocations: 0 / 477.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1467, allocations: 117 kB / 477.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.1467, allocations: 0 / 477.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.148, allocations: 489.2 kB / 478.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1481, allocations: 85.11 kB / 478.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.1485, allocations: 350.9 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1485, allocations: 33.7 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1486, allocations: 140.5 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.1487, allocations: 75 kB / 479 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1488, allocations: 25.72 kB / 479 MB, free: 6.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1489, allocations: 342.8 kB / 479.3 MB, free: 6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.149, allocations: 47.98 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1492, allocations: 95.33 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1494, allocations: 159.4 kB / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1495, allocations: 0 / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003681/0.1498, allocations: 233.5 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1499, allocations: 11.88 kB / 479.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1499, allocations: 0 / 479.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1499, allocations: 4 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.15, allocations: 47.92 kB / 479.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.15, allocations: 8.125 kB / 479.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.1502, allocations: 15.89 kB / 479.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1502, allocations: 8 kB / 479.9 MB, free: 5.352 MB / 350.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 (26): * Single equations (assignments): 26 * 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.0002051/0.1504, allocations: 162.3 kB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1504, allocations: 35.58 kB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.1505, allocations: 37.73 kB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1505, allocations: 0 / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.1505, allocations: 4 kB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1505, allocations: 4 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.1515, allocations: 0.7193 MB / 480.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1515, allocations: 0 / 480.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.1516, allocations: 32.11 kB / 480.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1516, allocations: 7.938 kB / 480.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1517, allocations: 8 kB / 481 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1517, allocations: 4 kB / 481 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1517, allocations: 0 / 481 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.1522, allocations: 421.6 kB / 481.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1523, allocations: 104.8 kB / 481.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1523, allocations: 4 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1525, allocations: 12 kB / 481.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.1526, allocations: 23.91 kB / 481.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1526, allocations: 12 kB / 481.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002746/0.1529, allocations: 265.9 kB / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1529, allocations: 0 / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000434/0.1533, allocations: 47.98 kB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001258/0.1546, allocations: 0.5141 MB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.155, allocations: 151.8 kB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1551, allocations: 8.125 kB / 482.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1552, allocations: 79.97 kB / 482.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.1559, allocations: 63.44 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.1568, allocations: 0.5429 MB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.1573, allocations: 0.7599 MB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1574, allocations: 41.91 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1575, allocations: 31.44 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1575, allocations: 0 / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Templates: time 0.006449/0.1639, allocations: 2.908 MB / 486.9 MB, free: 14.42 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches