Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.18/2.18, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3934/0.3934, allocations: 46.12 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 82.39 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1342, allocations: 62.44 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004747/0.139, allocations: 1.785 MB / 481.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.1427, allocations: 1.612 MB / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.1429, allocations: 0 / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.1432, allocations: 27.89 kB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.1437, allocations: 83.69 kB / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.144, allocations: 63.88 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1443, allocations: 103.6 kB / 483.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1444, allocations: 15.98 kB / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1446, allocations: 39.8 kB / 483.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1448, allocations: 39.83 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1448, allocations: 0 / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.1451, allocations: 103.9 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.1452, allocations: 19.91 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.1453, allocations: 31.8 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1456, allocations: 128 kB / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1456, allocations: 0 / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1456, allocations: 0 / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1457, allocations: 4 kB / 484 MB, free: 1.637 MB / 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.000734/0.1464, allocations: 431 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1465, allocations: 8.875 kB / 484.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1465, allocations: 12.83 kB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1469, allocations: 212 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1469, allocations: 7.938 kB / 484.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1469, allocations: 4 kB / 484.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1472, allocations: 67.39 kB / 484.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1472, allocations: 4 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.1472, allocations: 0 / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1473, allocations: 3.938 kB / 484.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1474, allocations: 19.98 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1479, allocations: 288.9 kB / 485 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1482, allocations: 54.69 kB / 485.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.1483, allocations: 24.78 kB / 485.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1483, allocations: 0 / 485.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.1486, allocations: 67.39 kB / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.1486, allocations: 0 / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008158/0.1495, allocations: 181.1 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1496, allocations: 85.05 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1498, allocations: 161.9 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.1499, allocations: 29.7 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.15, allocations: 100.1 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.15, allocations: 23.66 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.1501, allocations: 21.72 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1503, allocations: 326.8 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1504, allocations: 23.98 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1505, allocations: 38.56 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1507, allocations: 65.64 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1508, allocations: 384 / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003195/0.1511, allocations: 101.5 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1511, allocations: 8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1512, allocations: 4.062 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1512, allocations: 3.938 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1513, allocations: 19.98 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1514, allocations: 12.08 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.1515, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1515, allocations: 4 kB / 486.3 MB, free: 15.03 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 0.0001387/0.1516, allocations: 125.8 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.1517, allocations: 15.81 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1518, allocations: 12.72 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1518, allocations: 7.938 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1518, allocations: 3.938 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1518, allocations: 3.984 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.1525, allocations: 383.4 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1525, allocations: 7.938 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.1526, allocations: 11.94 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1526, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1526, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1526, allocations: 4.031 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1527, allocations: 4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.153, allocations: 200.3 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.1531, allocations: 88.94 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.1532, allocations: 8 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1533, allocations: 0 / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1534, allocations: 15.92 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.1535, allocations: 4 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1536, allocations: 123.2 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1537, allocations: 192 / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.1542, allocations: 51.98 kB / 487.4 MB, free: 13.87 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.002106/0.1564, allocations: 0.5403 MB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1567, allocations: 55.92 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1567, allocations: 0 / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1568, allocations: 27.98 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.1575, allocations: 31.91 kB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.1582, allocations: 266.2 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1585, allocations: 0.6926 MB / 489 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.1586, allocations: 23.42 kB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1586, allocations: 4 kB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.006878/0.1655, allocations: 2.395 MB / 491.4 MB, free: 9.969 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches