Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007361/0.0007361, allocations: 98.53 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.0008455/0.0008456, allocations: 206.5 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.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 15.98 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002426/0.1362, allocations: 1.438 MB / 485.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.138, allocations: 0.998 MB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1381, allocations: 0 / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1385, allocations: 55.81 kB / 486.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.1388, allocations: 79.72 kB / 486.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1391, allocations: 67.86 kB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1393, allocations: 107.6 kB / 486.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1395, allocations: 7.984 kB / 486.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1396, allocations: 43.78 kB / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.1397, allocations: 35.78 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1397, allocations: 0 / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1399, allocations: 47.92 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.1399, allocations: 31.91 kB / 486.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.14, allocations: 65.39 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1403, allocations: 104 kB / 486.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1403, allocations: 4 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1403, allocations: 0 / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1403, allocations: 0 / 486.8 MB, free: 1.016 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.0006494/0.141, allocations: 422.9 kB / 487.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.141, allocations: 12.88 kB / 487.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.1411, allocations: 12.75 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1414, allocations: 220.9 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1414, allocations: 4.375 kB / 487.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1414, allocations: 12.12 kB / 487.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1416, allocations: 53.67 kB / 487.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1416, allocations: 0 / 487.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1417, allocations: 7.938 kB / 487.5 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1417, allocations: 4 kB / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.1418, allocations: 19.97 kB / 487.6 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1422, allocations: 304.8 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1424, allocations: 58.61 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.1425, allocations: 20.8 kB / 487.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1425, allocations: 4 kB / 487.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1427, allocations: 71.38 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1427, allocations: 0 / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006075/0.1433, allocations: 185 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1434, allocations: 51.41 kB / 488.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1437, allocations: 271 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1437, allocations: 25.7 kB / 488.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1438, allocations: 120 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1438, allocations: 15.81 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1439, allocations: 21.7 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.144, allocations: 334.8 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.1441, allocations: 19.98 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.1442, allocations: 33.7 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1443, allocations: 57.72 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1443, allocations: 0 / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.1445, allocations: 113.3 kB / 489.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1445, allocations: 6.5 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1445, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1446, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.1447, allocations: 23.98 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1447, allocations: 3.938 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1447, allocations: 7.875 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1448, allocations: 4 kB / 489.3 MB, free: 14.3 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.0001145/0.1449, allocations: 133.8 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1449, allocations: 19.84 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.145, allocations: 21.39 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.145, allocations: 0 / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.145, allocations: 0 / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.145, allocations: 3.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1455, allocations: 411.5 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1455, allocations: 0.5625 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1456, allocations: 8 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1456, allocations: 7.969 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1456, allocations: 11.94 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1456, allocations: 7.984 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1456, allocations: 3.938 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1458, allocations: 204.1 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1459, allocations: 92.92 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1459, allocations: 11.94 kB / 490.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.146, allocations: 3.984 kB / 490.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1461, allocations: 4 kB / 490.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1461, allocations: 8 kB / 490.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1463, allocations: 208.4 kB / 490.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1463, allocations: 0 / 490.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1466, allocations: 20 kB / 490.4 MB, free: 13.04 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.001122/0.1477, allocations: 453.8 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1479, allocations: 55.92 kB / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1479, allocations: 0 / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.148, allocations: 35.92 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1484, allocations: 25.11 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.1489, allocations: 356.6 kB / 491.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1492, allocations: 0.7199 MB / 492.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1493, allocations: 15.44 kB / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1493, allocations: 0 / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004457/0.1538, allocations: 2.088 MB / 494.2 MB, free: 9.414 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches