Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 96.48 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.00146/0.00146, allocations: 205.5 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.425/1.425, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003257, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002573/0.1271, allocations: 1.54 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1294, allocations: 1.072 MB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1296, allocations: 0 / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.1303, allocations: 291.4 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.1311, allocations: 227.4 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1315, allocations: 87.78 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.132, allocations: 251.3 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1321, allocations: 9.688 kB / 486.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1323, allocations: 123.5 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1326, allocations: 192 kB / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1327, allocations: 4 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1328, allocations: 35.98 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.133, allocations: 140.5 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1331, allocations: 172.5 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1336, allocations: 354.9 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1336, allocations: 0 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1336, allocations: 0 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1336, allocations: 0 / 487.6 MB, free: 15.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001033/0.1347, allocations: 0.6761 MB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1347, allocations: 12.88 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1348, allocations: 48.28 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.1355, allocations: 443.9 kB / 488.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1356, allocations: 8.375 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1356, allocations: 4.125 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1358, allocations: 91.28 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1358, allocations: 8 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1359, allocations: 0 / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1359, allocations: 0 / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.136, allocations: 39.95 kB / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1364, allocations: 370.3 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.1367, allocations: 109.2 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.1368, allocations: 41.64 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1368, allocations: 4 kB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.1371, allocations: 113 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1371, allocations: 4 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005065/0.1376, allocations: 196.9 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1377, allocations: 81.11 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.1389, allocations: 1.022 MB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1389, allocations: 29.7 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1391, allocations: 236.1 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.1391, allocations: 27.66 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1392, allocations: 21.7 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1394, allocations: 370.7 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.1395, allocations: 23.98 kB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.1396, allocations: 58.8 kB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1398, allocations: 95.34 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1398, allocations: 0 / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000358/0.1401, allocations: 168.8 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1402, allocations: 8 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1402, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1402, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1403, allocations: 24.61 kB / 491.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1403, allocations: 8.047 kB / 491.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1405, allocations: 15.98 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1405, allocations: 4 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002357/0.1407, allocations: 225.7 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.1408, allocations: 55.33 kB / 492.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.031e-05/0.1409, allocations: 56.09 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1409, allocations: 4 kB / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1409, allocations: 0 / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.141, allocations: 4 kB / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.1413, allocations: 349.3 kB / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1413, allocations: 0 / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.1414, allocations: 8 kB / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1414, allocations: 0 / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1414, allocations: 0 / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1414, allocations: 7.984 kB / 492.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1414, allocations: 0 / 492.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.1418, allocations: 213.1 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1419, allocations: 136.4 kB / 492.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.142, allocations: 11.98 kB / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.1421, allocations: 4 kB / 492.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1422, allocations: 7.984 kB / 492.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1422, allocations: 8 kB / 492.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008529/0.1431, allocations: 0.7682 MB / 493.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1431, allocations: 0 / 493.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.1434, allocations: 44 kB / 493.7 MB, free: 9.09 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001031/0.1444, allocations: 403.8 kB / 494.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1447, allocations: 83.89 kB / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1447, allocations: 0 / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1448, allocations: 47.91 kB / 494.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1453, allocations: 70.33 kB / 494.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1467, allocations: 0.9401 MB / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.1472, allocations: 0.8391 MB / 496.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1474, allocations: 58.94 kB / 496.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1474, allocations: 35.42 kB / 496.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1475, allocations: 3.938 kB / 496.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of Templates: time 0.008287/0.1557, allocations: 3.458 MB / 499.7 MB, free: 3.246 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches