Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007866, allocations: 95.61 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1805/0.1805, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 11.98 kB / 464.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09103, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001719/0.09279, allocations: 1.388 MB / 0.5167 GB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.09397, allocations: 0.9169 MB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.09404, allocations: 3.938 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.09429, allocations: 63.86 kB / 0.5177 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.09452, allocations: 87.66 kB / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.09474, allocations: 87.78 kB / 0.5178 GB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.09488, allocations: 91.69 kB / 0.5179 GB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.09493, allocations: 12.2 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.09501, allocations: 43.78 kB / 0.518 GB, free: 60 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.09509, allocations: 35.84 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.09511, allocations: 3.984 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1904/0.2855, allocations: 26.06 kB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.2856, allocations: 13.91 kB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.2857, allocations: 39.11 kB / 0.5181 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2859, allocations: 78.72 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.286, allocations: 0 / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.286, allocations: 0.5625 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.286, allocations: 0.6562 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004586/0.2864, allocations: 393.2 kB / 0.5185 GB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2865, allocations: 9.625 kB / 0.5185 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.2865, allocations: 17.58 kB / 0.5186 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.2867, allocations: 207.3 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2868, allocations: 5.469 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2868, allocations: 1.625 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2869, allocations: 47.75 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2869, allocations: 0.875 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.287, allocations: 0.5156 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.287, allocations: 1.188 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.287, allocations: 14.86 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.2872, allocations: 184.5 kB / 0.519 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2874, allocations: 57.94 kB / 0.5191 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.2874, allocations: 19.66 kB / 0.5191 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2875, allocations: 2.453 kB / 0.5191 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.2876, allocations: 63.45 kB / 0.5191 GB, free: 8.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2876, allocations: 1.094 kB / 0.5191 GB, free: 8.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002677/0.2879, allocations: 98.16 kB / 0.5192 GB, free: 8.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.2879, allocations: 54.77 kB / 0.5193 GB, free: 8.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.2881, allocations: 198.5 kB / 0.5195 GB, free: 8.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2882, allocations: 28.05 kB / 0.5195 GB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.2882, allocations: 104.1 kB / 0.5196 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.2882, allocations: 16.73 kB / 0.5196 GB, free: 8.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2882, allocations: 1.5 kB / 0.5196 GB, free: 8.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2883, allocations: 322.4 kB / 0.5199 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.2884, allocations: 13.61 kB / 0.5199 GB, free: 8.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.2884, allocations: 28.5 kB / 0.52 GB, free: 8.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.2885, allocations: 20.34 kB / 0.52 GB, free: 8.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2885, allocations: 11.7 kB / 0.52 GB, free: 8.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001402/0.2886, allocations: 80.44 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2886, allocations: 5.719 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2887, allocations: 1.062 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2887, allocations: 0.7812 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.2887, allocations: 15.36 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2887, allocations: 0.7969 kB / 0.5201 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.2888, allocations: 8.547 kB / 0.5201 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.2888, allocations: 3.062 kB / 0.5201 GB, free: 8.223 MB / 346.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 (7): * Single equations (assignments): 7 * 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 7.57e-05/0.2889, allocations: 125.4 kB / 0.5202 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.2889, allocations: 13.36 kB / 0.5202 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.289, allocations: 15.56 kB / 0.5202 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.289, allocations: 3.984 kB / 0.5203 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.289, allocations: 1.219 kB / 0.5203 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.289, allocations: 0.8438 kB / 0.5203 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.2891, allocations: 185.1 kB / 0.5204 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2891, allocations: 3.828 kB / 0.5204 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.2891, allocations: 7.938 kB / 0.5204 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2891, allocations: 5.156 kB / 0.5204 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2891, allocations: 1.328 kB / 0.5204 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2892, allocations: 4.312 kB / 0.5205 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2892, allocations: 0 / 0.5205 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2893, allocations: 107.8 kB / 0.5206 GB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2894, allocations: 90.08 kB / 0.5206 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2894, allocations: 5.828 kB / 0.5206 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.2894, allocations: 7.969 kB / 0.5207 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.2895, allocations: 6.094 kB / 0.5207 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2895, allocations: 2.25 kB / 0.5207 GB, free: 7.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2896, allocations: 142.6 kB / 0.5208 GB, free: 7.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2896, allocations: 0 / 0.5208 GB, free: 7.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.2898, allocations: 17.16 kB / 0.5208 GB, free: 7.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007761/0.2906, allocations: 420.7 kB / 0.5212 GB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.2908, allocations: 42.03 kB / 0.5213 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2908, allocations: 0 / 0.5213 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.2909, allocations: 24.75 kB / 0.5213 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2911, allocations: 25.97 kB / 0.5213 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.2915, allocations: 248.9 kB / 0.5215 GB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2916, allocations: 0.7036 MB / 0.5222 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2916, allocations: 17.91 kB / 0.5222 GB, free: 6.551 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2916, allocations: 0.75 kB / 0.5222 GB, free: 6.551 MB / 346.7 MB Notification: Performance of Templates: time 0.003391/0.295, allocations: 1.707 MB / 0.5239 GB, free: 6.387 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches