Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108.4 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.0009916/0.0009917, allocations: 190.9 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.431/1.431, 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.2162/0.2162, allocations: 43.52 MB / 314.7 MB, free: 476 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.001611/0.001611, allocations: 78.06 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002641/0.1193, allocations: 1.782 MB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1204, allocations: 0.8663 MB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.1205, allocations: 7.875 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1209, allocations: 303.3 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1212, allocations: 207.4 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1215, allocations: 142.8 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1217, allocations: 239.4 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.1218, allocations: 13.53 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1219, allocations: 127.5 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.122, allocations: 188 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1221, allocations: 8 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.1222, allocations: 47.98 kB / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.1223, allocations: 132.5 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.1224, allocations: 138.8 kB / 446.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1226, allocations: 358.7 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1226, allocations: 4 kB / 446.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1226, allocations: 0 / 446.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1226, allocations: 0 / 446.5 MB, free: 1.594 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.0007235/0.1234, allocations: 0.7191 MB / 447.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1234, allocations: 11.89 kB / 447.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.1235, allocations: 52.38 kB / 447.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.124, allocations: 443.7 kB / 447.7 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.124, allocations: 8.359 kB / 447.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.124, allocations: 8.125 kB / 447.7 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1242, allocations: 79.38 kB / 447.8 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1242, allocations: 3.938 kB / 447.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1242, allocations: 3.984 kB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1242, allocations: 0 / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.1243, allocations: 31.98 kB / 447.8 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1247, allocations: 366.4 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.125, allocations: 105.2 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.1251, allocations: 49.62 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1251, allocations: 4 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.1254, allocations: 116.9 kB / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1254, allocations: 0 / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004538/0.1258, allocations: 197 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1259, allocations: 81.11 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.1268, allocations: 1.003 MB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1269, allocations: 33.7 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.127, allocations: 228.1 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1271, allocations: 23.66 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1271, allocations: 33.7 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1273, allocations: 366.8 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.1274, allocations: 27.98 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.1275, allocations: 59.41 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1277, allocations: 91.86 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1277, allocations: 4 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002792/0.128, allocations: 168.9 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.128, allocations: 4 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.128, allocations: 0 / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1281, allocations: 4 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1282, allocations: 19.98 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1282, allocations: 4 kB / 450.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.1283, allocations: 15.97 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1283, allocations: 4 kB / 450.8 MB, free: 12.99 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.0001916/0.1285, allocations: 225.6 kB / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1286, allocations: 51.34 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.1286, allocations: 63.78 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1287, allocations: 0 / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1287, allocations: 4 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1287, allocations: 0 / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.129, allocations: 337.3 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.129, allocations: 7.984 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.1291, allocations: 8 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1291, allocations: 0 / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1291, allocations: 8 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1291, allocations: 128 / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1291, allocations: 4 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.1294, allocations: 205.2 kB / 451.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.1296, allocations: 140.4 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1296, allocations: 0 / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.1297, allocations: 8 kB / 451.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1298, allocations: 7.984 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1298, allocations: 4 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.1305, allocations: 0.7526 MB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1305, allocations: 0 / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1308, allocations: 43.98 kB / 452.7 MB, free: 11.04 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.0009069/0.1317, allocations: 417.4 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1319, allocations: 87.84 kB / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1319, allocations: 0 / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.132, allocations: 43.92 kB / 453.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1324, allocations: 75.66 kB / 453.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1337, allocations: 0.8397 MB / 454.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1342, allocations: 0.8388 MB / 454.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1343, allocations: 54.94 kB / 455 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1344, allocations: 31.44 kB / 455 MB, free: 8.695 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1344, allocations: 4 kB / 455 MB, free: 8.691 MB / 334.1 MB Notification: Performance of Templates: time 0.007575/0.1419, allocations: 3.65 MB / 458.7 MB, free: 5.047 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches