Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002482/0.002487, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001166/0.001166, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3021/0.3021, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00268/0.1218, allocations: 1.379 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1237, allocations: 0.7383 MB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1239, allocations: 3.938 kB / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1242, allocations: 31.83 kB / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1245, allocations: 43.88 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1249, allocations: 75.8 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1251, allocations: 63.84 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.1252, allocations: 8.234 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1253, allocations: 39.84 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.1254, allocations: 23.86 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1254, allocations: 4 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1256, allocations: 31.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1256, allocations: 15.91 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.1257, allocations: 37.64 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1259, allocations: 96.08 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1259, allocations: 4 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1259, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.126, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006645/0.1266, allocations: 398.9 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1267, allocations: 12.02 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.1268, allocations: 15.77 kB / 493.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1271, allocations: 203.6 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1271, allocations: 8 kB / 493.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1271, allocations: 4 kB / 493.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1273, allocations: 57.61 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1274, allocations: 0 / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1274, allocations: 0 / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1274, allocations: 4 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1275, allocations: 19.94 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.128, allocations: 284.9 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1283, allocations: 62.61 kB / 493.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1283, allocations: 4 kB / 493.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1286, allocations: 63.52 kB / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.1286, allocations: 0 / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000804/0.1294, allocations: 177.1 kB / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1295, allocations: 55.41 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1298, allocations: 203.3 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1298, allocations: 25.7 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1299, allocations: 166.5 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.13, allocations: 19.8 kB / 494.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.13, allocations: 0 / 494.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1301, allocations: 314.8 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.1302, allocations: 19.98 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1303, allocations: 49.58 kB / 494.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1305, allocations: 20 kB / 495 MB, free: 4.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1305, allocations: 0 / 495 MB, free: 4.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002989/0.1308, allocations: 101.5 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1309, allocations: 8 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1309, allocations: 0 / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1309, allocations: 7.891 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1311, allocations: 12 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1311, allocations: 8.031 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.1312, allocations: 4.359 kB / 495.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1312, allocations: 4 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001399/0.1313, allocations: 121.8 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1314, allocations: 15.89 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.1315, allocations: 21.39 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1315, allocations: 3.953 kB / 495.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1315, allocations: 4 kB / 495.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1315, allocations: 0 / 495.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.1322, allocations: 395.2 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1322, allocations: 0 / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.1323, allocations: 15.92 kB / 495.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.1323, allocations: 7.953 kB / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1323, allocations: 0 / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1323, allocations: 0 / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1323, allocations: 0 / 495.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.1327, allocations: 210 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.1328, allocations: 100.9 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.1329, allocations: 4 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.133, allocations: 0 / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.133, allocations: 11.98 kB / 496 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1331, allocations: 4 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1333, allocations: 152.9 kB / 496.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.1333, allocations: 0 / 496.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.1337, allocations: 23.94 kB / 496.2 MB, free: 3.027 MB / 330.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001448/0.1351, allocations: 484 kB / 496.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1355, allocations: 51.97 kB / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.1355, allocations: 0 / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1357, allocations: 31.92 kB / 496.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1361, allocations: 23.59 kB / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.1368, allocations: 280.2 kB / 497 MB, free: 2.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1372, allocations: 0.7082 MB / 497.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1373, allocations: 19.38 kB / 497.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1373, allocations: 4 kB / 497.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Templates: time 0.006164/0.1435, allocations: 1.903 MB / 499.6 MB, free: 15.54 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches