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.001544/0.001544, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 78.28 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003775/0.1319, allocations: 2.268 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1341, allocations: 1.314 MB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1342, allocations: 7.938 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1346, allocations: 139.3 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.1351, allocations: 262.8 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1355, allocations: 183.5 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.1359, allocations: 466.6 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1361, allocations: 65.06 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1363, allocations: 287.1 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1365, allocations: 167.1 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1366, allocations: 16 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1367, allocations: 75.91 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1369, allocations: 143.5 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1371, allocations: 206.3 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.1375, allocations: 482.3 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1375, allocations: 0 / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1375, allocations: 0 / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1375, allocations: 0 / 486.1 MB, free: 15.23 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.001012/0.1385, allocations: 0.8825 MB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1386, allocations: 13.11 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.1387, allocations: 68 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1391, allocations: 452.1 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1392, allocations: 12.38 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.1392, allocations: 20.12 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1396, allocations: 188.9 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1396, allocations: 3.938 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1396, allocations: 4 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1396, allocations: 4 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.14, allocations: 111.8 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.1408, allocations: 0.8288 MB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.1414, allocations: 234.5 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.1416, allocations: 95.47 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1416, allocations: 7.984 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.142, allocations: 200.4 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.142, allocations: 0 / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002449/0.1445, allocations: 1.172 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.1446, allocations: 144.4 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.1455, allocations: 0.9575 MB / 491.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1456, allocations: 41.69 kB / 491.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1458, allocations: 265 kB / 491.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1459, allocations: 142.1 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.146, allocations: 78.03 kB / 491.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1462, allocations: 330 kB / 492.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1464, allocations: 112.8 kB / 492.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.1467, allocations: 183.2 kB / 492.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.1472, allocations: 314.9 kB / 492.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1472, allocations: 0 / 492.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007228/0.1479, allocations: 448.4 kB / 493.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1479, allocations: 8 kB / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1479, allocations: 0 / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.148, allocations: 7.984 kB / 493.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1482, allocations: 83.91 kB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1483, allocations: 7.938 kB / 493.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1484, allocations: 19.92 kB / 493.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.1484, allocations: 20 kB / 493.4 MB, free: 7.465 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.0002507/0.1487, allocations: 256 kB / 493.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.1488, allocations: 83.03 kB / 493.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1489, allocations: 85.75 kB / 493.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.149, allocations: 4 kB / 493.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.149, allocations: 4 kB / 493.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.149, allocations: 7.922 kB / 493.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1505, allocations: 1.342 MB / 495.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1506, allocations: 4 kB / 495.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1507, allocations: 59.91 kB / 495.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1507, allocations: 4 kB / 495.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1508, allocations: 19.98 kB / 495.3 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1508, allocations: 4 kB / 495.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1508, allocations: 4 kB / 495.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.1516, allocations: 0.7969 MB / 496.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.1518, allocations: 168.2 kB / 496.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.1519, allocations: 19.98 kB / 496.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.1521, allocations: 23.98 kB / 496.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1522, allocations: 39.91 kB / 496.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.1523, allocations: 23.98 kB / 496.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000758/0.1531, allocations: 0.7059 MB / 497.1 MB, free: 3.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1531, allocations: 0 / 497.1 MB, free: 3.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.1536, allocations: 87.94 kB / 497.2 MB, free: 3.582 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.001313/0.1549, allocations: 0.5212 MB / 497.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006799/0.1556, allocations: 335.5 kB / 498 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1556, allocations: 0 / 498 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1559, allocations: 159.8 kB / 498.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.1569, allocations: 148.9 kB / 498.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1585, allocations: 1.215 MB / 499.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.159, allocations: 0.9205 MB / 0.4887 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.1592, allocations: 87.27 kB / 0.4888 GB, free: 332 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1593, allocations: 55.42 kB / 0.4889 GB, free: 276 kB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1593, allocations: 0 / 0.4889 GB, free: 276 kB / 366.1 MB Notification: Performance of Templates: time 0.01038/0.1697, allocations: 5.454 MB / 0.4942 GB, free: 10.86 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches