Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001671, allocations: 186.2 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.218/2.218, 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.001146/0.001146, allocations: 102.8 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.2848/0.2848, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 16 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002604/0.1212, allocations: 1.375 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.123, allocations: 0.7344 MB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1232, allocations: 3.938 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1235, allocations: 31.84 kB / 492.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1237, allocations: 43.88 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1241, allocations: 71.8 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1243, allocations: 63.84 kB / 492.5 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.1244, allocations: 12.23 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1246, allocations: 39.83 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.1247, allocations: 23.86 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1247, allocations: 4 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1248, allocations: 31.92 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1249, allocations: 11.92 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.125, allocations: 33.7 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1252, allocations: 96.02 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.1252, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1252, allocations: 4 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1252, allocations: 0 / 492.8 MB, free: 6.727 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.0006382/0.1259, allocations: 394.9 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1259, allocations: 12.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.126, allocations: 15.86 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1263, allocations: 194.9 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1263, allocations: 8 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1264, allocations: 0 / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1266, allocations: 61.61 kB / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1266, allocations: 0 / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1267, allocations: 4 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1267, allocations: 0 / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1268, allocations: 19.94 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1273, allocations: 288.8 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1275, allocations: 62.61 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1276, allocations: 4 kB / 493.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1278, allocations: 63.52 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.1278, allocations: 0 / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007788/0.1286, allocations: 185.1 kB / 494.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1287, allocations: 51.41 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.129, allocations: 190.1 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.129, allocations: 29.7 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.1291, allocations: 166.5 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1292, allocations: 19.66 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1292, allocations: 4 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1293, allocations: 318.8 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.1294, allocations: 16 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1296, allocations: 41.64 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.1297, allocations: 27.94 kB / 494.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1297, allocations: 0 / 494.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002947/0.13, allocations: 97.59 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.13, allocations: 4 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.1301, allocations: 4 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1301, allocations: 3.953 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1302, allocations: 19.92 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1303, allocations: 0 / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.1304, allocations: 8.031 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1304, allocations: 4 kB / 495.1 MB, free: 4.234 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.0001685/0.1306, allocations: 125.8 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1306, allocations: 15.8 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.1307, allocations: 12.72 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1307, allocations: 7.953 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1307, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1307, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.1314, allocations: 395.3 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1314, allocations: 4 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1315, allocations: 4 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1315, allocations: 7.953 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1316, allocations: 0 / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1316, allocations: 3.938 kB / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1316, allocations: 4 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1319, allocations: 206 kB / 495.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.132, allocations: 96.86 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1321, allocations: 8 kB / 495.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1322, allocations: 0 / 495.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1323, allocations: 7.984 kB / 495.9 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1323, allocations: 4 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1325, allocations: 147.2 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1325, allocations: 0 / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.1329, allocations: 16 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.001344/0.1342, allocations: 484 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1346, allocations: 55.95 kB / 496.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.1346, allocations: 4 kB / 496.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1347, allocations: 31.92 kB / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1351, allocations: 27.53 kB / 496.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.1358, allocations: 264.2 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1361, allocations: 0.7082 MB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.1362, allocations: 19.42 kB / 497.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1362, allocations: 0 / 497.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of Templates: time 0.00552/0.1417, allocations: 1.879 MB / 499.6 MB, free: 15.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches