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.001063/0.001063, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 62.45 MB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003736/0.1182, allocations: 2.355 MB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1204, allocations: 1.402 MB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1206, allocations: 7.938 kB / 483.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1211, allocations: 283 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.1217, allocations: 338.6 kB / 484.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1221, allocations: 211.5 kB / 484.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.1226, allocations: 0.5531 MB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1227, allocations: 57.05 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.123, allocations: 235.2 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1233, allocations: 270.9 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1233, allocations: 20 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1235, allocations: 63.84 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1236, allocations: 111.5 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1237, allocations: 186.6 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.1241, allocations: 406.7 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1241, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1241, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1242, allocations: 4 kB / 486.5 MB, free: 14.76 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.001047/0.1252, allocations: 0.8018 MB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1253, allocations: 8.031 kB / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.1254, allocations: 52.28 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.1258, allocations: 411.8 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1259, allocations: 20.36 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1259, allocations: 20.03 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.1263, allocations: 213.8 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1263, allocations: 0 / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1263, allocations: 3.938 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1263, allocations: 4 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1266, allocations: 107.9 kB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.1274, allocations: 0.8644 MB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.128, allocations: 289.2 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1282, allocations: 96.19 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1283, allocations: 11.94 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.1287, allocations: 227.4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/0.1287, allocations: 4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001978/0.1307, allocations: 1.008 MB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.1308, allocations: 166.1 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.1315, allocations: 0.6514 MB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1315, allocations: 37.7 kB / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1317, allocations: 240.9 kB / 491.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.1318, allocations: 126.3 kB / 491.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.1319, allocations: 70.12 kB / 491.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1321, allocations: 374.8 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1323, allocations: 96.83 kB / 492.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1326, allocations: 188.9 kB / 492.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.1331, allocations: 296.4 kB / 492.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1331, allocations: 4 kB / 492.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006955/0.1338, allocations: 404.7 kB / 493.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1339, allocations: 8 kB / 493.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1339, allocations: 4 kB / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1339, allocations: 4 kB / 493.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.1342, allocations: 83.89 kB / 493.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1342, allocations: 7.938 kB / 493.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1344, allocations: 23.98 kB / 493.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.1344, allocations: 16 kB / 493.4 MB, free: 7.469 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.0002009/0.1346, allocations: 208.3 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1348, allocations: 63.19 kB / 493.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1349, allocations: 68.41 kB / 493.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1349, allocations: 4 kB / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1349, allocations: 4 kB / 493.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.1349, allocations: 7.969 kB / 493.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1364, allocations: 1.281 MB / 495 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1364, allocations: 4 kB / 495 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1366, allocations: 48.06 kB / 495.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1366, allocations: 8 kB / 495.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1366, allocations: 19.92 kB / 495.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1366, allocations: 4 kB / 495.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1366, allocations: 11.88 kB / 495.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.1375, allocations: 0.8123 MB / 495.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.1376, allocations: 124.4 kB / 496.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.1377, allocations: 19.92 kB / 496.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.138, allocations: 23.98 kB / 496.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.1381, allocations: 35.89 kB / 496.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.1381, allocations: 20 kB / 496.2 MB, free: 4.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.1386, allocations: 486.8 kB / 496.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1386, allocations: 0 / 496.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000524/0.1391, allocations: 84 kB / 496.7 MB, free: 4.02 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.001058/0.1402, allocations: 479.7 kB / 497.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1408, allocations: 312.2 kB / 497.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1408, allocations: 0 / 497.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.1411, allocations: 152 kB / 497.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.1422, allocations: 150.1 kB / 497.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1437, allocations: 0.9233 MB / 498.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.1442, allocations: 0.8596 MB / 499.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.1445, allocations: 92.11 kB / 499.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1446, allocations: 51.42 kB / 499.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1446, allocations: 0 / 499.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of Templates: time 0.01069/0.1553, allocations: 5.735 MB / 0.4936 GB, free: 11.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches