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.0009948/0.0009948, allocations: 94.67 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 204.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 46.18 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 12 kB / 420.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 63.57 MB / 483.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003413/0.1258, allocations: 1.957 MB / 485.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1289, allocations: 1.279 MB / 487 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.1292, allocations: 4 kB / 487 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.1299, allocations: 115.5 kB / 487.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007635/0.1307, allocations: 211.2 kB / 487.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.1313, allocations: 167.7 kB / 487.5 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000763/0.1321, allocations: 430.7 kB / 487.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.1323, allocations: 61.05 kB / 488 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.1329, allocations: 251 kB / 488.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1332, allocations: 147.1 kB / 488.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.1332, allocations: 12 kB / 488.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1335, allocations: 67.91 kB / 488.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.1337, allocations: 115.5 kB / 488.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1339, allocations: 204.2 kB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.1345, allocations: 311.5 kB / 489 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1345, allocations: 0 / 489 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1345, allocations: 0 / 489 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1345, allocations: 0 / 489 MB, free: 14.87 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.001436/0.136, allocations: 0.747 MB / 489.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.136, allocations: 9.953 kB / 489.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1362, allocations: 60.19 kB / 489.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.1369, allocations: 416.4 kB / 490.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1369, allocations: 12.38 kB / 490.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.137, allocations: 16.12 kB / 490.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.1375, allocations: 201.5 kB / 490.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.1376, allocations: 7.938 kB / 490.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1376, allocations: 4 kB / 490.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1376, allocations: 4 kB / 490.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.138, allocations: 91.91 kB / 490.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1393, allocations: 0.8015 MB / 491.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.1401, allocations: 246.5 kB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1404, allocations: 87.52 kB / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1405, allocations: 11.94 kB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/0.141, allocations: 210.2 kB / 491.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 5.32e-06/0.141, allocations: 3.984 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003268/0.1443, allocations: 1.114 MB / 493.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/0.1444, allocations: 136.5 kB / 493.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.1457, allocations: 0.8046 MB / 494 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.1458, allocations: 33.7 kB / 494 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.1461, allocations: 237 kB / 494.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.1463, allocations: 142.1 kB / 494.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.1464, allocations: 37.7 kB / 494.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.1466, allocations: 378.7 kB / 494.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.147, allocations: 116.8 kB / 494.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.1475, allocations: 187.2 kB / 495.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.1483, allocations: 319 kB / 495.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1483, allocations: 0 / 495.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001179/0.1495, allocations: 440.4 kB / 495.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1495, allocations: 4 kB / 495.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1495, allocations: 4 kB / 495.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1495, allocations: 128 / 495.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.15, allocations: 95.89 kB / 495.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.15, allocations: 4.234 kB / 495.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.1503, allocations: 19.92 kB / 496 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.1504, allocations: 16 kB / 496 MB, free: 7.551 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.0003822/0.1507, allocations: 235.9 kB / 496.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.1509, allocations: 67.16 kB / 496.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.1511, allocations: 80.89 kB / 496.4 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.1511, allocations: 12 kB / 496.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1512, allocations: 3.938 kB / 496.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.1512, allocations: 11.92 kB / 496.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.1538, allocations: 1.307 MB / 497.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1538, allocations: 0 / 497.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.1541, allocations: 68.09 kB / 497.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.1541, allocations: 8 kB / 497.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.1542, allocations: 19.98 kB / 497.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.1542, allocations: 4 kB / 497.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1542, allocations: 0 / 497.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1556, allocations: 0.7812 MB / 498.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.1559, allocations: 184.3 kB / 498.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.156, allocations: 19.98 kB / 498.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.1565, allocations: 19.92 kB / 498.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1567, allocations: 39.89 kB / 498.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.1567, allocations: 20 kB / 498.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.1578, allocations: 0.5849 MB / 499.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1578, allocations: 4 kB / 499.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009619/0.1587, allocations: 87.91 kB / 499.5 MB, free: 3.848 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.002014/0.1608, allocations: 0.5264 MB / 0.4883 GB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1618, allocations: 307.7 kB / 0.4886 GB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.1618, allocations: 4.25 kB / 0.4886 GB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.1623, allocations: 163.7 kB / 0.4888 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.1642, allocations: 123.2 kB / 0.4889 GB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.1672, allocations: 1.267 MB / 0.4901 GB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.168, allocations: 0.8863 MB / 0.491 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.1683, allocations: 59.42 kB / 0.4911 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1683, allocations: 0 / 0.4911 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of Templates: time 0.01549/0.1838, allocations: 6.368 MB / 0.4973 GB, free: 10.27 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