Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00193/0.00193, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002379/0.002379, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.13 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 76.47 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 62.46 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004294/0.1346, allocations: 2.273 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1372, allocations: 1.309 MB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1373, allocations: 7.938 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.1378, allocations: 135.3 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.1383, allocations: 234.9 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1388, allocations: 191.5 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1393, allocations: 450.7 kB / 485.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1395, allocations: 65.06 kB / 485.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.1398, allocations: 267.1 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.14, allocations: 159.1 kB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.1401, allocations: 16 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1403, allocations: 75.97 kB / 485.9 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.1405, allocations: 127.5 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1407, allocations: 190.5 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.1412, allocations: 430.5 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1412, allocations: 4 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1412, allocations: 0 / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1412, allocations: 0 / 486.7 MB, free: 15.3 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.001215/0.1424, allocations: 0.8206 MB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1425, allocations: 9.109 kB / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1426, allocations: 64.09 kB / 487.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.1432, allocations: 412.5 kB / 488 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1432, allocations: 12.38 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.1432, allocations: 20.03 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1436, allocations: 196.9 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1437, allocations: 8 kB / 488.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1437, allocations: 0 / 488.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1437, allocations: 4 kB / 488.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.144, allocations: 99.8 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009828/0.145, allocations: 0.7975 MB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.1457, allocations: 246.5 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1459, allocations: 91.52 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.1459, allocations: 8.219 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.1464, allocations: 200.2 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.674e-06/0.1464, allocations: 4 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002674/0.1491, allocations: 1.121 MB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1492, allocations: 140.5 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1502, allocations: 0.7931 MB / 491.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.1503, allocations: 41.69 kB / 491.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.1505, allocations: 240.9 kB / 492 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1507, allocations: 138.1 kB / 492.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1509, allocations: 82.03 kB / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00027/0.1511, allocations: 374.8 kB / 492.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.1516, allocations: 108.8 kB / 492.6 MB, free: 9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1519, allocations: 187.2 kB / 492.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.1525, allocations: 323 kB / 493.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1525, allocations: 0 / 493.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008194/0.1534, allocations: 428.9 kB / 493.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1534, allocations: 14.48 kB / 493.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1534, allocations: 128 / 493.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1534, allocations: 8 kB / 493.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1537, allocations: 87.84 kB / 493.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1537, allocations: 7.984 kB / 493.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1539, allocations: 15.94 kB / 493.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.154, allocations: 20 kB / 493.7 MB, free: 7.875 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.0003382/0.1543, allocations: 232 kB / 493.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1544, allocations: 71.14 kB / 494 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1546, allocations: 80.92 kB / 494.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1546, allocations: 4 kB / 494.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.1546, allocations: 0 / 494.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.1546, allocations: 15.86 kB / 494.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.1567, allocations: 1.307 MB / 495.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1567, allocations: 4 kB / 495.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1569, allocations: 64.16 kB / 495.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.1569, allocations: 12 kB / 495.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.1569, allocations: 15.98 kB / 495.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.1569, allocations: 4 kB / 495.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.157, allocations: 7.938 kB / 495.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.158, allocations: 0.7773 MB / 496.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.1582, allocations: 172.3 kB / 496.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.1583, allocations: 15.98 kB / 496.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.1586, allocations: 19.98 kB / 496.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.1587, allocations: 39.84 kB / 496.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.1588, allocations: 23.98 kB / 496.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008131/0.1596, allocations: 0.5849 MB / 497.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1596, allocations: 4 kB / 497.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005442/0.1601, allocations: 84 kB / 497.2 MB, free: 4.195 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.002089/0.1622, allocations: 0.5259 MB / 497.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.163, allocations: 327.6 kB / 498.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1631, allocations: 4.25 kB / 498.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.1634, allocations: 163.7 kB / 498.2 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1644, allocations: 140 kB / 498.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1662, allocations: 1.111 MB / 499.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.1668, allocations: 0.8977 MB / 0.4887 GB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.167, allocations: 51.42 kB / 0.4887 GB, free: 1.094 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.167, allocations: 0 / 0.4887 GB, free: 1.094 MB / 366.1 MB Notification: Performance of Templates: time 0.0111/0.1781, allocations: 6.459 MB / 0.495 GB, free: 10.66 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches