Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.002486, allocations: 187 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.236/2.236, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.00116/0.00116, allocations: 102.8 kB / 270.9 MB, free: 13.27 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.2854/0.2854, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 23.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002693/0.1221, allocations: 1.379 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1239, allocations: 0.7306 MB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.124, allocations: 3.938 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1244, allocations: 35.83 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1246, allocations: 43.88 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.125, allocations: 75.78 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1252, allocations: 59.86 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.1253, allocations: 12.23 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1254, allocations: 35.84 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.1255, allocations: 31.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1255, allocations: 0 / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1257, allocations: 31.92 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1257, allocations: 11.92 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.1258, allocations: 37.64 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.126, allocations: 88.09 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.126, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.126, allocations: 4 kB / 492.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1261, allocations: 0 / 492.8 MB, free: 6.742 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.0006235/0.1267, allocations: 398.9 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1267, allocations: 16.02 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.1268, allocations: 11.86 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1271, allocations: 194.9 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1271, allocations: 11.92 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.1272, allocations: 3.984 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1274, allocations: 61.61 kB / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1274, allocations: 4 kB / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1274, allocations: 0 / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1274, allocations: 0 / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1276, allocations: 23.94 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.128, allocations: 288.8 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1283, allocations: 58.62 kB / 493.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1283, allocations: 4 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1286, allocations: 63.5 kB / 493.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.696e-06/0.1286, allocations: 0 / 493.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007931/0.1294, allocations: 181.2 kB / 494.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1295, allocations: 51.41 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1297, allocations: 198.1 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1298, allocations: 25.7 kB / 494.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.1299, allocations: 158.6 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1299, allocations: 27.64 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.1299, allocations: 4 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1301, allocations: 314.8 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.1302, allocations: 19.98 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1303, allocations: 45.64 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1304, allocations: 23.98 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1304, allocations: 0 / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002855/0.1307, allocations: 89.67 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1308, allocations: 11.94 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1308, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1308, allocations: 3.953 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.131, allocations: 15.94 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.131, allocations: 4 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.1311, allocations: 8.016 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1311, allocations: 4 kB / 495.1 MB, free: 4.242 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.0001356/0.1312, allocations: 121.8 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1313, allocations: 11.81 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.1314, allocations: 20.7 kB / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1314, allocations: 3.953 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1314, allocations: 192 / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1314, allocations: 0 / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.1321, allocations: 399.3 kB / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1321, allocations: 0 / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.1322, allocations: 15.92 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1322, allocations: 3.953 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1322, allocations: 0 / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1322, allocations: 4.375 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1322, allocations: 0 / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.1326, allocations: 210 kB / 495.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.1327, allocations: 96.86 kB / 495.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.1327, allocations: 8 kB / 495.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1328, allocations: 4 kB / 495.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1329, allocations: 3.984 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.1329, allocations: 4 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1331, allocations: 139.2 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1331, allocations: 0 / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.1335, allocations: 27.98 kB / 496.1 MB, free: 3.07 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.001376/0.1349, allocations: 475.5 kB / 496.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1352, allocations: 59.95 kB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1353, allocations: 0 / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1354, allocations: 27.94 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1358, allocations: 27.58 kB / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.1364, allocations: 272.1 kB / 497 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1368, allocations: 0.7082 MB / 497.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.1369, allocations: 15.44 kB / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.001e-06/0.1369, allocations: 3.938 kB / 497.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of Templates: time 0.005473/0.1423, allocations: 1.879 MB / 499.6 MB, free: 15.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches