Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 86.34 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3143/0.3143, allocations: 43.55 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003764, allocations: 19.94 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002386/0.1192, allocations: 1.479 MB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1207, allocations: 0.8201 MB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1208, allocations: 3.938 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1214, allocations: 299.4 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.1217, allocations: 195.5 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1222, allocations: 123.8 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.1225, allocations: 203.4 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.1226, allocations: 17.53 kB / 494 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1228, allocations: 115.6 kB / 494.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1231, allocations: 159.6 kB / 494.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.1231, allocations: 4 kB / 494.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1233, allocations: 43.97 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1234, allocations: 131.6 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1236, allocations: 152.7 kB / 494.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1239, allocations: 283.7 kB / 494.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1239, allocations: 0 / 494.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1239, allocations: 0 / 494.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1239, allocations: 0 / 494.8 MB, free: 6.617 MB / 378.7 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.0009391/0.1249, allocations: 0.6689 MB / 495.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1249, allocations: 12.03 kB / 495.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.125, allocations: 48.28 kB / 495.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.1256, allocations: 443.9 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1256, allocations: 4.375 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1257, allocations: 12.06 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1259, allocations: 83.36 kB / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1259, allocations: 4 kB / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1259, allocations: 0 / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1259, allocations: 0 / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.126, allocations: 27.98 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1265, allocations: 390.2 kB / 496.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1267, allocations: 105.2 kB / 496.6 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.1268, allocations: 45.58 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1269, allocations: 0 / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.1271, allocations: 113 kB / 496.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.1271, allocations: 0 / 496.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004945/0.1276, allocations: 200.8 kB / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1277, allocations: 81.11 kB / 497 MB, free: 4.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1288, allocations: 1.03 MB / 498.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1288, allocations: 29.7 kB / 498.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.129, allocations: 240 kB / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.1291, allocations: 31.64 kB / 498.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.1291, allocations: 0 / 498.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1292, allocations: 370.8 kB / 498.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.1293, allocations: 27.98 kB / 498.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.1294, allocations: 55.36 kB / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1296, allocations: 91.34 kB / 498.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1296, allocations: 0 / 498.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002854/0.1299, allocations: 168.9 kB / 499 MB, free: 2.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1299, allocations: 4 kB / 499.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1299, allocations: 4 kB / 499.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1299, allocations: 0 / 499.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1301, allocations: 19.98 kB / 499.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1301, allocations: 12 kB / 499.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.1302, allocations: 8.609 kB / 499.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1302, allocations: 8 kB / 499.1 MB, free: 2.051 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.1304, allocations: 237.5 kB / 499.3 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.1305, allocations: 51.34 kB / 499.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.1306, allocations: 60 kB / 499.4 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1306, allocations: 4 kB / 499.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1306, allocations: 4 kB / 499.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1306, allocations: 4 kB / 499.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.1309, allocations: 341.4 kB / 499.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1309, allocations: 0 / 499.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.131, allocations: 12 kB / 499.8 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.131, allocations: 0 / 499.8 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.131, allocations: 3.938 kB / 499.8 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.131, allocations: 4 kB / 499.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.131, allocations: 7.922 kB / 499.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1313, allocations: 201.2 kB / 0.4883 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.1315, allocations: 144.4 kB / 0.4884 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1315, allocations: 7.984 kB / 0.4884 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1316, allocations: 7.938 kB / 0.4884 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1317, allocations: 11.98 kB / 0.4885 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1317, allocations: 4 kB / 0.4885 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007627/0.1325, allocations: 0.7682 MB / 0.4892 GB, free: 104 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1325, allocations: 8 kB / 0.4892 GB, free: 96 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.1327, allocations: 44 kB / 0.4893 GB, free: 52 kB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1842/0.317, allocations: 404 kB / 0.4896 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3174, allocations: 79.53 kB / 0.4897 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3174, allocations: 0 / 0.4897 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3175, allocations: 41.5 kB / 0.4898 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.318, allocations: 68.38 kB / 0.4898 GB, free: 43.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3194, allocations: 0.9644 MB / 0.4908 GB, free: 43.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3197, allocations: 0.837 MB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.3198, allocations: 31.69 kB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.3198, allocations: 0 / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008122/0.328, allocations: 4.976 MB / 0.4965 GB, free: 41.89 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches