Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002277/0.002283, 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.291/2.291, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001171/0.001171, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.2953/0.2953, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00254/0.1233, allocations: 1.379 MB / 491.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1251, allocations: 0.7422 MB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1253, allocations: 3.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1256, allocations: 27.84 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1258, allocations: 39.89 kB / 492.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1262, allocations: 75.78 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1264, allocations: 63.84 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1265, allocations: 16.23 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1267, allocations: 35.84 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.1267, allocations: 19.86 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1268, allocations: 4 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1269, allocations: 31.92 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.127, allocations: 19.91 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.127, allocations: 33.7 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1272, allocations: 84.05 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1273, allocations: 0 / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1273, allocations: 4 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1273, allocations: 0 / 492.8 MB, free: 6.746 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.0006154/0.1279, allocations: 402.9 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.128, allocations: 12.02 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.128, allocations: 15.86 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1283, allocations: 194.9 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1284, allocations: 7.984 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1284, allocations: 0 / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1286, allocations: 61.61 kB / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1286, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1287, allocations: 4 kB / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1287, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1288, allocations: 19.94 kB / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1292, allocations: 288.9 kB / 493.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1295, allocations: 58.62 kB / 493.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1296, allocations: 4 kB / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1298, allocations: 67.5 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.1298, allocations: 0 / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007809/0.1306, allocations: 185.1 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1307, allocations: 51.41 kB / 494.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1309, allocations: 194.1 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.131, allocations: 33.7 kB / 494.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1311, allocations: 158.6 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1311, allocations: 27.64 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1311, allocations: 0 / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1313, allocations: 318.8 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.1314, allocations: 15.98 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1315, allocations: 45.58 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1316, allocations: 28 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1317, allocations: 0 / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.132, allocations: 85.67 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.132, allocations: 7.938 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.132, allocations: 4 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.132, allocations: 3.953 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1322, allocations: 15.94 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1322, allocations: 0 / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.1323, allocations: 16.02 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1324, 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.0001759/0.1325, allocations: 117.8 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1326, allocations: 11.81 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1327, allocations: 20.7 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1327, allocations: 3.953 kB / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1327, allocations: 0 / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1327, allocations: 0 / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.1334, allocations: 391.3 kB / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1334, allocations: 4 kB / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.1335, allocations: 11.98 kB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.1335, allocations: 3.953 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1335, allocations: 4 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1335, allocations: 3.938 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1335, allocations: 4.375 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.1339, allocations: 210 kB / 495.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.134, allocations: 96.86 kB / 495.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.134, allocations: 4 kB / 495.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1342, allocations: 4 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1342, allocations: 11.98 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1343, allocations: 4 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1344, allocations: 139.2 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1345, allocations: 0 / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.1348, allocations: 23.98 kB / 496.1 MB, free: 3.074 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.001351/0.1362, allocations: 475.7 kB / 496.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1365, allocations: 63.95 kB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1366, allocations: 0 / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1367, 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.0003946/0.1371, 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.0006338/0.1377, allocations: 260.2 kB / 497 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1381, allocations: 0.7082 MB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.1382, allocations: 19.44 kB / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1382, allocations: 0 / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of Templates: time 0.005667/0.1439, allocations: 1.883 MB / 499.6 MB, free: 15.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches