Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105.3 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.221/0.221, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.00177, allocations: 69.89 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1316, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002893/0.1346, allocations: 1.786 MB / 443.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1358, allocations: 0.8663 MB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.1359, allocations: 7.938 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.1363, allocations: 311.3 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1367, allocations: 215.3 kB / 445.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.137, allocations: 135.2 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1372, allocations: 247.4 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.1373, allocations: 9.562 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1374, allocations: 131.5 kB / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.1376, allocations: 191.5 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1376, allocations: 4 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.1377, allocations: 47.98 kB / 445.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1378, allocations: 131.6 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1379, allocations: 142.8 kB / 446.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1382, allocations: 366.6 kB / 446.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1382, allocations: 0 / 446.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1382, allocations: 4 kB / 446.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1383, allocations: 0 / 446.5 MB, free: 1.57 MB / 318.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.0008845/0.1391, allocations: 0.7306 MB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1392, allocations: 11.89 kB / 447.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.1393, allocations: 48.38 kB / 447.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.1398, allocations: 447.8 kB / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1399, allocations: 4.375 kB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1399, allocations: 12.09 kB / 447.8 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1401, allocations: 87.38 kB / 447.9 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1401, allocations: 3.938 kB / 447.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1401, allocations: 3.938 kB / 447.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1401, allocations: 0 / 447.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1402, allocations: 31.97 kB / 447.9 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1407, allocations: 378.4 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1409, allocations: 105.2 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.141, allocations: 41.64 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1411, allocations: 0 / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1413, allocations: 120.9 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1413, allocations: 0 / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004661/0.1418, allocations: 196.9 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.1418, allocations: 77.11 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.1429, allocations: 1.038 MB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1429, allocations: 29.7 kB / 449.9 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1431, allocations: 236.1 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1431, allocations: 27.64 kB / 450.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1432, allocations: 25.72 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1434, allocations: 366.8 kB / 450.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.1435, allocations: 27.97 kB / 450.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.1436, allocations: 63.42 kB / 450.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1438, allocations: 91.86 kB / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1438, allocations: 0 / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.144, allocations: 172.8 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1441, allocations: 12.06 kB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1441, allocations: 0 / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1441, allocations: 0 / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1442, allocations: 23.98 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1442, allocations: 0 / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.1443, allocations: 11.94 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1444, allocations: 7.984 kB / 450.9 MB, free: 12.91 MB / 334.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.0001893/0.1446, allocations: 225.6 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1446, allocations: 55.34 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.1447, allocations: 64 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1447, allocations: 3.984 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1447, allocations: 0 / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1447, allocations: 0 / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.1451, allocations: 345.3 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1451, allocations: 3.938 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1451, allocations: 11.98 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1451, allocations: 0 / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1451, allocations: 4 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1451, allocations: 0 / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1452, allocations: 4 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1455, allocations: 209.3 kB / 451.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1457, allocations: 140.4 kB / 451.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.1457, allocations: 8 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1458, allocations: 4 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1459, allocations: 15.98 kB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1459, allocations: 4 kB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007621/0.1467, allocations: 0.7721 MB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1467, allocations: 0 / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1469, allocations: 40 kB / 452.8 MB, free: 10.92 MB / 334.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.0009264/0.1479, allocations: 412.7 kB / 453.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1481, allocations: 91.83 kB / 453.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1481, allocations: 4.125 kB / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1483, allocations: 47.86 kB / 453.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1487, allocations: 76.22 kB / 453.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1498, allocations: 0.8589 MB / 454.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1503, allocations: 0.8427 MB / 455.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1504, allocations: 50.95 kB / 455.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1505, allocations: 31.42 kB / 455.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1505, allocations: 0 / 455.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of Templates: time 0.007534/0.158, allocations: 3.708 MB / 458.9 MB, free: 4.844 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches