Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007515/0.0007512, allocations: 92.84 kB / 271.2 MB, free: 8.246 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.2905/0.2905, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 19.98 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002543/0.1166, allocations: 1.931 MB / 492.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1184, allocations: 1.112 MB / 493.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1185, allocations: 7.938 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1191, allocations: 271.3 kB / 494.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1195, allocations: 227.1 kB / 494.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.1201, allocations: 303.5 kB / 494.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1206, allocations: 442.5 kB / 495.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1208, allocations: 61.03 kB / 495.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.121, allocations: 203.1 kB / 495.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1213, allocations: 227.1 kB / 495.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1213, allocations: 8 kB / 495.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1215, allocations: 43.98 kB / 495.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1216, allocations: 99.58 kB / 495.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1217, allocations: 184.5 kB / 495.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1221, allocations: 275.7 kB / 496.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1221, allocations: 0 / 496.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1221, allocations: 0 / 496.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1221, allocations: 0 / 496.2 MB, free: 5.5 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001096/0.1232, allocations: 0.6972 MB / 496.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1233, allocations: 8.031 kB / 496.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.1234, allocations: 56.22 kB / 496.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.124, allocations: 399.9 kB / 497.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.124, allocations: 16.31 kB / 497.3 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1241, allocations: 24.03 kB / 497.4 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.1246, allocations: 209.8 kB / 497.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1246, allocations: 0 / 497.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1246, allocations: 8 kB / 497.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1247, allocations: 4 kB / 497.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.125, allocations: 99.86 kB / 497.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1261, allocations: 0.8527 MB / 498.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.1267, allocations: 289.2 kB / 498.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1269, allocations: 92.25 kB / 498.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1269, allocations: 16 kB / 498.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.1274, allocations: 223.4 kB / 499.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.1274, allocations: 4 kB / 499.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001921/0.1293, allocations: 0.9651 MB / 0.4884 GB, free: 1.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1294, allocations: 162.2 kB / 0.4885 GB, free: 1.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.1301, allocations: 0.6198 MB / 0.4891 GB, free: 472 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.1302, allocations: 37.7 kB / 0.4892 GB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1304, allocations: 217.1 kB / 0.4894 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1305, allocations: 122.3 kB / 0.4895 GB, free: 84 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/0.1305, allocations: 12 kB / 0.4895 GB, free: 72 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1933/0.3238, allocations: 367.7 kB / 0.4899 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.3243, allocations: 94.03 kB / 0.49 GB, free: 42.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.3246, allocations: 185.3 kB / 0.4901 GB, free: 42.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.3252, allocations: 290.4 kB / 0.4904 GB, free: 42.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3252, allocations: 1.25 kB / 0.4904 GB, free: 42.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008752/0.3261, allocations: 397.9 kB / 0.4908 GB, free: 42.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3261, allocations: 6.531 kB / 0.4908 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3261, allocations: 2.25 kB / 0.4908 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3261, allocations: 4.906 kB / 0.4908 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3264, allocations: 85.7 kB / 0.4909 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3265, allocations: 9.625 kB / 0.4909 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3267, allocations: 23.78 kB / 0.4909 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3268, allocations: 21.59 kB / 0.4909 GB, free: 42.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002576/0.327, allocations: 205.6 kB / 0.4911 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3271, allocations: 65.08 kB / 0.4912 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.3273, allocations: 63.42 kB / 0.4913 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3273, allocations: 5.469 kB / 0.4913 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3273, allocations: 5.094 kB / 0.4913 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3273, allocations: 3 kB / 0.4913 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.329, allocations: 1.26 MB / 0.4925 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.329, allocations: 6.656 kB / 0.4925 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3292, allocations: 48.69 kB / 0.4926 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.3292, allocations: 12.28 kB / 0.4926 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.3292, allocations: 15.56 kB / 0.4926 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.3292, allocations: 5.359 kB / 0.4926 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3293, allocations: 2.719 kB / 0.4926 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.3301, allocations: 0.8101 MB / 0.4934 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3302, allocations: 138.8 kB / 0.4935 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.3303, allocations: 12.09 kB / 0.4935 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.3306, allocations: 26 kB / 0.4935 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.3307, allocations: 38.05 kB / 0.4936 GB, free: 41.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.3307, allocations: 26.78 kB / 0.4936 GB, free: 41.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005062/0.3313, allocations: 454.4 kB / 0.494 GB, free: 41.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3313, allocations: 0 / 0.494 GB, free: 41.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005458/0.3318, allocations: 91.48 kB / 0.4941 GB, free: 41.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009717/0.3328, allocations: 487.7 kB / 0.4946 GB, free: 40.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.3334, allocations: 282.3 kB / 0.4949 GB, free: 40.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3334, allocations: 1.594 kB / 0.4949 GB, free: 40.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.3337, allocations: 153.7 kB / 0.495 GB, free: 40.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3348, allocations: 129 kB / 0.4951 GB, free: 40.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3362, allocations: 0.9839 MB / 0.4961 GB, free: 40.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3366, allocations: 0.8472 MB / 0.4969 GB, free: 39.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3368, allocations: 52.84 kB / 0.497 GB, free: 39.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3368, allocations: 0 / 0.497 GB, free: 39.71 MB / 378.7 MB Notification: Performance of Templates: time 0.008336/0.3451, allocations: 6.23 MB / 0.5031 GB, free: 39.07 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches