Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 71.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003287/0.1314, allocations: 1.823 MB / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1332, allocations: 1.095 MB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1333, allocations: 0 / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.1339, allocations: 311.2 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.1344, allocations: 263.2 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1347, allocations: 103.7 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.135, allocations: 259.3 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.1351, allocations: 17.66 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1352, allocations: 131.5 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1355, allocations: 203.4 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.1355, allocations: 8 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1356, allocations: 43.98 kB / 485.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1358, allocations: 131.6 kB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1359, allocations: 150.7 kB / 486 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1363, allocations: 378.7 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1363, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1363, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1363, allocations: 0 / 486.3 MB, free: 15.64 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.0009848/0.1373, allocations: 0.7385 MB / 487.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1374, allocations: 12.03 kB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.1375, allocations: 48.28 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.1381, allocations: 459.7 kB / 487.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1382, allocations: 4.375 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1382, allocations: 12.11 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1384, allocations: 87.36 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1384, allocations: 0 / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1385, allocations: 0 / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1385, allocations: 0 / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1386, allocations: 35.91 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.139, allocations: 374.4 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1392, allocations: 105.2 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.1393, allocations: 57.55 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1394, allocations: 0 / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1396, allocations: 113.1 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1396, allocations: 0 / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004693/0.1401, allocations: 196.9 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1402, allocations: 81.09 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1413, allocations: 1.054 MB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1413, allocations: 25.7 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1415, allocations: 244.1 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1415, allocations: 31.62 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.1416, allocations: 25.72 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1418, allocations: 374.8 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.1419, allocations: 27.98 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.142, allocations: 59.3 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1422, allocations: 91.34 kB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1422, allocations: 0 / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002786/0.1425, allocations: 168.9 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1425, allocations: 4 kB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1425, allocations: 4.625 kB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.1425, allocations: 4.062 kB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1427, allocations: 27.92 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1427, allocations: 4 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.1428, allocations: 15.83 kB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1428, allocations: 8 kB / 490.8 MB, free: 10.92 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.0002081/0.143, allocations: 226.6 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.1431, allocations: 51.34 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.1431, allocations: 56.14 kB / 491.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1432, allocations: 4 kB / 491.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1432, allocations: 4 kB / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1432, allocations: 0 / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1435, allocations: 349.4 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1435, allocations: 0 / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.1435, allocations: 11.92 kB / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1435, allocations: 4 kB / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1436, allocations: 0 / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1436, allocations: 0 / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1436, allocations: 4 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1439, allocations: 205.2 kB / 491.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1441, allocations: 140.4 kB / 491.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1441, allocations: 7.984 kB / 491.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1442, allocations: 0 / 491.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1442, allocations: 11.98 kB / 491.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1443, allocations: 8 kB / 491.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007863/0.1451, allocations: 0.78 MB / 492.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1451, allocations: 4 kB / 492.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1453, allocations: 44 kB / 492.7 MB, free: 8.934 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.0009594/0.1463, allocations: 423.8 kB / 493.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1465, allocations: 83.84 kB / 493.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1466, allocations: 0 / 493.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.1467, allocations: 35.98 kB / 493.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1471, allocations: 85.25 kB / 493.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1482, allocations: 0.8783 MB / 494.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1487, allocations: 0.8388 MB / 495 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1488, allocations: 63.44 kB / 495.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1489, allocations: 27.44 kB / 495.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1489, allocations: 0 / 495.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of Templates: time 0.007394/0.1563, allocations: 3.765 MB / 498.8 MB, free: 2.844 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches