Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 209.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 84.77 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 62.46 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003582/0.1361, allocations: 1.871 MB / 482.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1381, allocations: 1.096 MB / 483.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.1382, allocations: 4 kB / 483.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.1387, allocations: 291.4 kB / 483.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.1392, allocations: 243.4 kB / 483.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1395, allocations: 87.78 kB / 483.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.1399, allocations: 263.3 kB / 484.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.033e-05/0.1399, allocations: 13.67 kB / 484.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1401, allocations: 139.5 kB / 484.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1404, allocations: 195.5 kB / 484.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1404, allocations: 12 kB / 484.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1405, allocations: 51.92 kB / 484.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1407, allocations: 143.5 kB / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1409, allocations: 146.8 kB / 484.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1412, allocations: 287.8 kB / 485 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1412, allocations: 0 / 485 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1412, allocations: 0 / 485 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1413, allocations: 0 / 485 MB, free: 0.7422 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001113/0.1424, allocations: 0.7424 MB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1424, allocations: 19.97 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.1425, allocations: 48.28 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.1431, allocations: 451.7 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1432, allocations: 12.36 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1432, allocations: 4.125 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1434, allocations: 91.3 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1434, allocations: 0 / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1435, allocations: 3.984 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1435, allocations: 4 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1436, allocations: 27.98 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.1441, allocations: 378.4 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1443, allocations: 105.2 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1445, allocations: 41.64 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1445, allocations: 8 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.1448, allocations: 101 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.1448, allocations: 4 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005076/0.1453, allocations: 200.9 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1454, allocations: 81.11 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1466, allocations: 1.05 MB / 488.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1466, allocations: 29.7 kB / 488.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1468, allocations: 236.1 kB / 488.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.1469, allocations: 27.64 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.147, allocations: 29.7 kB / 488.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1472, allocations: 374.8 kB / 489.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.1473, allocations: 27.98 kB / 489.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1474, allocations: 51.42 kB / 489.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1476, allocations: 91.84 kB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1476, allocations: 4 kB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003133/0.1479, allocations: 176.8 kB / 489.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1479, allocations: 7.938 kB / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.148, allocations: 0 / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.153e-05/0.148, allocations: 7.984 kB / 489.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1481, allocations: 16 kB / 489.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1482, allocations: 4 kB / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.1483, allocations: 19.89 kB / 489.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1483, allocations: 8 kB / 489.5 MB, free: 12.03 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.0002535/0.1485, allocations: 233.6 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1486, allocations: 47.34 kB / 489.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.978e-05/0.1487, allocations: 64.14 kB / 489.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1487, allocations: 4 kB / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1487, allocations: 0 / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1487, allocations: 0 / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.1492, allocations: 345.4 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1492, allocations: 4 kB / 490.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.1492, allocations: 11.98 kB / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1492, allocations: 0 / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1493, allocations: 8 kB / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1493, allocations: 0 / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1493, allocations: 0 / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1496, allocations: 209.2 kB / 490.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1498, allocations: 136.5 kB / 490.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.1499, allocations: 3.984 kB / 490.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.1499, allocations: 8.125 kB / 490.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.15, allocations: 11.98 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.15, allocations: 4 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008998/0.1509, allocations: 0.7916 MB / 491.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1509, allocations: 0 / 491.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1512, allocations: 43.98 kB / 491.4 MB, free: 10.02 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.00164/0.1529, allocations: 408.5 kB / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.1532, allocations: 87.91 kB / 491.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1532, allocations: 0 / 491.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1533, allocations: 43.91 kB / 491.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.1538, allocations: 76.44 kB / 492 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1553, allocations: 1.017 MB / 493 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.156, allocations: 0.8466 MB / 493.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.1561, allocations: 31.44 kB / 493.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1561, allocations: 0 / 493.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of Templates: time 0.009509/0.1656, allocations: 5.162 MB / 499 MB, free: 2.445 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches