Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.6 kB / 17.04 MB, free: 5.816 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.001559/0.001559, allocations: 195 kB / 17.98 MB, free: 5.027 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.551/1.551, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.227/0.227, allocations: 43.52 MB / 314.7 MB, free: 496 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.00164/0.00164, allocations: 69.11 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1397, allocations: 57.78 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00309/0.1429, allocations: 1.789 MB / 443.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1443, allocations: 0.8818 MB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1444, allocations: 0 / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.145, allocations: 303.3 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1453, allocations: 215.4 kB / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1457, allocations: 151.4 kB / 445.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1459, allocations: 243.4 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.146, allocations: 13.55 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1461, allocations: 127.6 kB / 445.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1463, allocations: 187.5 kB / 445.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1463, allocations: 8 kB / 445.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.1465, allocations: 43.94 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1466, allocations: 135.6 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1467, allocations: 142.8 kB / 446.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.147, allocations: 366.7 kB / 446.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.147, allocations: 0 / 446.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.147, allocations: 7.938 kB / 446.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.147, allocations: 0 / 446.5 MB, free: 1.578 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.0008635/0.1479, allocations: 0.7306 MB / 447.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.148, allocations: 11.89 kB / 447.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.148, allocations: 44.38 kB / 447.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.1487, allocations: 451.8 kB / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1487, allocations: 384 / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1487, allocations: 12.12 kB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1489, allocations: 87.3 kB / 447.9 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1489, allocations: 0 / 447.9 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.149, allocations: 3.984 kB / 447.9 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.149, allocations: 4 kB / 447.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.1491, allocations: 27.98 kB / 447.9 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1495, allocations: 374.4 kB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1498, allocations: 105.2 kB / 448.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.1499, allocations: 41.64 kB / 448.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.15, allocations: 15.98 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1502, allocations: 109 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1502, allocations: 0 / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005075/0.1507, allocations: 196.9 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.1508, allocations: 81.11 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1519, allocations: 1.034 MB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1519, allocations: 33.7 kB / 449.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1521, allocations: 228.1 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1522, allocations: 27.64 kB / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1522, allocations: 33.7 kB / 450.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1524, allocations: 362.8 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.1525, allocations: 27.98 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1526, allocations: 67.36 kB / 450.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1528, allocations: 91.91 kB / 450.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.1528, allocations: 0 / 450.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.1531, allocations: 172.9 kB / 450.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1531, allocations: 5.25 kB / 450.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1532, allocations: 7.984 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1532, allocations: 3.938 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1533, allocations: 20 kB / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1533, allocations: 0 / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.1534, allocations: 19.86 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1534, allocations: 4 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.000206/0.1536, allocations: 225.6 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.1537, allocations: 59.34 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.1538, allocations: 56 kB / 451.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1538, allocations: 4 kB / 451.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1538, allocations: 0 / 451.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1538, allocations: 0 / 451.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.1542, allocations: 349.3 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1542, allocations: 0 / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1542, allocations: 4 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1542, allocations: 4 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1542, allocations: 0 / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.1543, allocations: 7.984 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1543, allocations: 8.062 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.1546, allocations: 201.3 kB / 451.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.1548, allocations: 144.4 kB / 452 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.1548, allocations: 0 / 452 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.1549, allocations: 7.984 kB / 452 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.155, allocations: 12 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.155, allocations: 11.97 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007551/0.1558, allocations: 0.7682 MB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1558, allocations: 0 / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.156, allocations: 43.98 kB / 452.8 MB, free: 10.93 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.0009487/0.157, allocations: 414.4 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1573, allocations: 87.91 kB / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1573, allocations: 0 / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1574, allocations: 43.92 kB / 453.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1578, allocations: 68.23 kB / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1591, allocations: 0.859 MB / 454.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1595, allocations: 0.8466 MB / 455.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1597, allocations: 54.95 kB / 455.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.1598, allocations: 31.42 kB / 455.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1598, allocations: 0 / 455.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of Templates: time 0.008181/0.1679, allocations: 3.717 MB / 458.9 MB, free: 4.859 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches