Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2018/0.2018, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 78.09 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 62.46 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003403/0.1225, allocations: 2.265 MB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1248, allocations: 1.313 MB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1249, allocations: 7.938 kB / 485.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.1254, allocations: 143.3 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.1259, allocations: 258.8 kB / 485.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1264, allocations: 187.5 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.1269, allocations: 462.6 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1271, allocations: 65.06 kB / 486.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.1274, allocations: 299 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1276, allocations: 163.1 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.1276, allocations: 20 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.1278, allocations: 67.98 kB / 486.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.128, allocations: 147.4 kB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1282, allocations: 210.3 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.1286, allocations: 486 kB / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1286, allocations: 0 / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1287, allocations: 4 kB / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1287, allocations: 0 / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001092/0.1298, allocations: 0.8864 MB / 488.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1298, allocations: 17.05 kB / 488.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1299, allocations: 76 kB / 488.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.1305, allocations: 440.1 kB / 488.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1306, allocations: 20.31 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.1306, allocations: 16.12 kB / 489 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.131, allocations: 189 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.131, allocations: 0 / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.131, allocations: 8 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1311, allocations: 4 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1313, allocations: 99.84 kB / 489.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.1323, allocations: 0.8288 MB / 490.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.1329, allocations: 250.5 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1331, allocations: 83.53 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1331, allocations: 11.98 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.1335, allocations: 196.3 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.166e-06/0.1335, allocations: 3.984 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002368/0.1359, allocations: 1.163 MB / 491.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.136, allocations: 140.5 kB / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.137, allocations: 0.9574 MB / 492.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.137, allocations: 41.64 kB / 492.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1372, allocations: 269 kB / 493.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1374, allocations: 142.1 kB / 493.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.1375, allocations: 78.05 kB / 493.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1376, allocations: 322 kB / 493.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.1378, allocations: 116.8 kB / 493.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.1381, allocations: 187.1 kB / 494 MB, free: 7.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.1386, allocations: 319.1 kB / 494.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1386, allocations: 3.938 kB / 494.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007186/0.1393, allocations: 444.3 kB / 494.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1393, allocations: 8.125 kB / 494.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1393, allocations: 4 kB / 494.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1394, allocations: 7.938 kB / 494.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1397, allocations: 83.91 kB / 494.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1397, allocations: 7.984 kB / 494.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1398, allocations: 15.94 kB / 494.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.1399, allocations: 16 kB / 494.9 MB, free: 6.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000285/0.1402, allocations: 259.8 kB / 495.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.1403, allocations: 79.06 kB / 495.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1404, allocations: 90.67 kB / 495.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1404, allocations: 8 kB / 495.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1404, allocations: 0 / 495.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1405, allocations: 3.938 kB / 495.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.1421, allocations: 1.334 MB / 496.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1421, allocations: 4 kB / 496.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1422, allocations: 63.91 kB / 496.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1423, allocations: 4 kB / 496.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.1423, allocations: 20.23 kB / 496.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.1423, allocations: 11.94 kB / 496.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.1423, allocations: 4 kB / 496.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.1431, allocations: 0.7889 MB / 497.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.1433, allocations: 176.2 kB / 497.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1434, allocations: 16 kB / 497.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.1436, allocations: 20.36 kB / 497.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.1437, allocations: 43.83 kB / 497.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.1438, allocations: 20 kB / 497.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006778/0.1445, allocations: 0.706 MB / 498.5 MB, free: 2.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1445, allocations: 3.938 kB / 498.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.145, allocations: 84 kB / 498.6 MB, free: 2.805 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001218/0.1462, allocations: 0.5237 MB / 499.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.1469, allocations: 319.6 kB / 499.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1469, allocations: 0 / 499.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1472, allocations: 168.7 kB / 499.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.1481, allocations: 145.2 kB / 499.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1498, allocations: 1.2 MB / 0.4892 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1503, allocations: 0.9133 MB / 0.4901 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.1505, allocations: 75.3 kB / 0.4902 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1507, allocations: 55.41 kB / 0.4902 GB, free: 15.53 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1507, allocations: 0 / 0.4902 GB, free: 15.53 MB / 382.1 MB Notification: Performance of Templates: time 0.01022/0.1609, allocations: 5.462 MB / 0.4956 GB, free: 10.11 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches