Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007966/0.0007964, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009473/0.0009474, allocations: 207.8 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.362/1.362, allocations: 227.7 MB / 247.5 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.2135/0.2135, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 63.55 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002753/0.1185, allocations: 2.043 MB / 485.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.121, allocations: 1.368 MB / 487.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1213, allocations: 3.938 kB / 487.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.1219, allocations: 287.3 kB / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.1225, allocations: 295 kB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.123, allocations: 187.8 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.1238, allocations: 0.5257 MB / 488.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.124, allocations: 53.02 kB / 488.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.1243, allocations: 219 kB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.1247, allocations: 270.8 kB / 489 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.1248, allocations: 8 kB / 489 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.125, allocations: 51.91 kB / 489 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1251, allocations: 99.58 kB / 489.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1253, allocations: 208.3 kB / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.1256, allocations: 295.7 kB / 489.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1257, allocations: 3.938 kB / 489.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1257, allocations: 0 / 489.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1257, allocations: 0 / 489.6 MB, free: 14.26 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001091/0.1268, allocations: 0.7281 MB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1268, allocations: 8.875 kB / 490.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1269, allocations: 52.28 kB / 490.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.1275, allocations: 411.8 kB / 490.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1275, allocations: 20.31 kB / 490.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.1276, allocations: 24.02 kB / 490.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.128, allocations: 201.8 kB / 491 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.128, allocations: 3.984 kB / 491 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.128, allocations: 4 kB / 491 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.128, allocations: 8 kB / 491.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.1283, allocations: 99.86 kB / 491.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.1292, allocations: 0.8605 MB / 492 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.1298, allocations: 289.2 kB / 492.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1301, allocations: 92.27 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1301, allocations: 15.97 kB / 492.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.1305, allocations: 228.4 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/0.1305, allocations: 0 / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001994/0.1325, allocations: 1.007 MB / 493.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.1326, allocations: 170.2 kB / 493.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.1334, allocations: 0.6475 MB / 494.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1334, allocations: 41.7 kB / 494.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1336, allocations: 240.9 kB / 494.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1337, allocations: 126.3 kB / 494.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.1338, allocations: 33.7 kB / 494.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.134, allocations: 374.8 kB / 495.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1342, allocations: 100.8 kB / 495.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1345, allocations: 184.8 kB / 495.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.135, allocations: 296.6 kB / 495.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.135, allocations: 0 / 495.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007438/0.1358, allocations: 408.7 kB / 496.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1358, allocations: 11.94 kB / 496.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1358, allocations: 4 kB / 496.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1358, allocations: 4 kB / 496.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.1362, allocations: 83.83 kB / 496.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1362, allocations: 7.938 kB / 496.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1364, allocations: 23.98 kB / 496.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.1364, allocations: 16 kB / 496.4 MB, free: 7.086 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002325/0.1367, allocations: 212.3 kB / 496.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.1368, allocations: 63.19 kB / 496.6 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1369, allocations: 76.33 kB / 496.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.1369, allocations: 4 kB / 496.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1369, allocations: 5.5 kB / 496.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1369, allocations: 0 / 496.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1385, allocations: 1.277 MB / 498 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1385, allocations: 4.156 kB / 498 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1386, allocations: 47.92 kB / 498 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1387, allocations: 4 kB / 498 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.1387, allocations: 23.92 kB / 498.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1387, allocations: 4 kB / 498.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1387, allocations: 7.938 kB / 498.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008553/0.1396, allocations: 0.8087 MB / 498.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1397, allocations: 144.3 kB / 499 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.1398, allocations: 23.92 kB / 499.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.1401, allocations: 19.98 kB / 499.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.1402, allocations: 35.95 kB / 499.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.1403, allocations: 16 kB / 499.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005419/0.1408, allocations: 494.8 kB / 499.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1408, allocations: 0 / 499.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.1414, allocations: 84 kB / 499.7 MB, free: 3.621 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001104/0.1425, allocations: 482.4 kB / 0.4884 GB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1431, allocations: 295.7 kB / 0.4887 GB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1431, allocations: 0 / 0.4887 GB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.1434, allocations: 155.7 kB / 0.4889 GB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.1447, allocations: 145.7 kB / 0.489 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1462, allocations: 1.077 MB / 0.4901 GB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1467, allocations: 0.8606 MB / 0.4909 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1468, allocations: 55.42 kB / 0.491 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1468, allocations: 0 / 0.491 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.1572, allocations: 6.46 MB / 0.4973 GB, free: 10.21 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches