Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001969/0.1469, allocations: 1.442 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.149, allocations: 1.573 MB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.1491, allocations: 4 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1493, allocations: 35.84 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1496, allocations: 83.73 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1498, allocations: 63.81 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1499, allocations: 99.69 kB / 486.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.15, allocations: 11.98 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.1501, allocations: 39.78 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1503, allocations: 47.72 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1503, allocations: 4 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1505, allocations: 99.92 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.1505, allocations: 19.86 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1506, allocations: 61.44 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1508, allocations: 163.8 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1508, allocations: 0 / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1509, allocations: 0 / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1509, allocations: 0 / 486.8 MB, free: 412 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005232/0.1514, allocations: 411.2 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1514, allocations: 12.88 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1515, allocations: 8.844 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1518, allocations: 215.6 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1518, allocations: 3.938 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1518, allocations: 11.92 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.152, allocations: 63.39 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.152, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.152, allocations: 8 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1521, allocations: 7.984 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.1521, allocations: 15.98 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1526, allocations: 284.9 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1527, allocations: 58.61 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1528, allocations: 28.84 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1528, allocations: 0 / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.153, allocations: 67.39 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.153, allocations: 0 / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005614/0.1536, allocations: 177.1 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1537, allocations: 85.05 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1538, allocations: 166.5 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1539, allocations: 25.7 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1539, allocations: 96.14 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.154, allocations: 27.64 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.154, allocations: 13.72 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1541, allocations: 330.8 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.1542, allocations: 15.98 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1543, allocations: 42.56 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1544, allocations: 61.81 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1544, allocations: 0 / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1546, allocations: 105.5 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1546, allocations: 4.188 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1546, allocations: 0 / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1546, allocations: 7.938 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.1547, allocations: 15.98 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1547, allocations: 11.91 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.1548, allocations: 8 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1548, allocations: 4 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.667e-05/0.1549, allocations: 116.5 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1549, allocations: 15.8 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.155, allocations: 12.72 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.155, allocations: 4 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.155, allocations: 3.938 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.155, allocations: 0 / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1554, allocations: 399.3 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1554, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1555, allocations: 15.92 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1555, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1555, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1555, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1555, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1557, allocations: 208.2 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1558, allocations: 92.94 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1558, allocations: 8 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1559, allocations: 0 / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.156, allocations: 7.984 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.156, allocations: 4.375 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1561, allocations: 130.5 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1561, allocations: 0 / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1564, allocations: 51.98 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001197/0.1576, allocations: 0.5315 MB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1578, allocations: 63.91 kB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1578, allocations: 3.938 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.1579, allocations: 31.94 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1582, allocations: 27.91 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.1586, allocations: 226.1 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1589, allocations: 0.7004 MB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.159, allocations: 21.16 kB / 491.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.159, allocations: 23.42 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.159, allocations: 4 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004916/0.164, allocations: 2.271 MB / 494.1 MB, free: 8.891 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches