Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009567/0.0009567, allocations: 200.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, 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.0007727/0.0007727, allocations: 93.67 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1877/0.1877, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 8 kB / 464.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09424, allocations: 62.96 MB / 0.5153 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00204/0.09632, allocations: 1.424 MB / 0.5167 GB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.09771, allocations: 0.9402 MB / 0.5176 GB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.0978, allocations: 7.938 kB / 0.5177 GB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.09807, allocations: 43.83 kB / 0.5177 GB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.0983, allocations: 67.75 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.09856, allocations: 101.9 kB / 0.5179 GB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.0987, allocations: 91.67 kB / 0.5179 GB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.09879, allocations: 8 kB / 0.518 GB, free: 32 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1837/0.2825, allocations: 35.02 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2826, allocations: 33.89 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2827, allocations: 2.797 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.2828, allocations: 35.8 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.2829, allocations: 22.48 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.283, allocations: 37.89 kB / 0.5181 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2832, allocations: 91.03 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2832, allocations: 1.281 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2832, allocations: 0.8438 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2832, allocations: 0 / 0.5182 GB, free: 9.797 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004818/0.2837, allocations: 406.9 kB / 0.5186 GB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2837, allocations: 12.62 kB / 0.5186 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.2838, allocations: 11.39 kB / 0.5186 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.284, allocations: 212.4 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.284, allocations: 5.188 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.284, allocations: 3.797 kB / 0.5188 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2842, allocations: 53 kB / 0.5189 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2842, allocations: 4.469 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2842, allocations: 2.5 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2842, allocations: 0.5625 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.2843, allocations: 21.23 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.2847, allocations: 290 kB / 0.5192 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.2849, allocations: 62.5 kB / 0.5192 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.2849, allocations: 22.27 kB / 0.5193 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.285, allocations: 0.6562 kB / 0.5193 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.2851, allocations: 65.16 kB / 0.5193 GB, free: 8.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2851, allocations: 0 / 0.5193 GB, free: 8.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.2857, allocations: 175.3 kB / 0.5195 GB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.2857, allocations: 56.31 kB / 0.5195 GB, free: 8.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.2859, allocations: 217.2 kB / 0.5197 GB, free: 8.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2859, allocations: 28.83 kB / 0.5198 GB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.286, allocations: 103 kB / 0.5199 GB, free: 8.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.286, allocations: 30.58 kB / 0.5199 GB, free: 8.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.286, allocations: 2.125 kB / 0.5199 GB, free: 8.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.2861, allocations: 324.7 kB / 0.5202 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.2862, allocations: 19.73 kB / 0.5202 GB, free: 8.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.2862, allocations: 42.53 kB / 0.5203 GB, free: 8.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.2863, allocations: 24.48 kB / 0.5203 GB, free: 8.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2863, allocations: 0 / 0.5203 GB, free: 8.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.2865, allocations: 99.44 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2865, allocations: 10.97 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2865, allocations: 0.7031 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2865, allocations: 0.7188 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.2866, allocations: 23.88 kB / 0.5204 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2866, allocations: 0.875 kB / 0.5204 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.2867, allocations: 4.969 kB / 0.5204 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2867, allocations: 8.281 kB / 0.5204 GB, free: 8.086 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 (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 7.956e-05/0.2868, allocations: 125 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.2868, allocations: 14.53 kB / 0.5206 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.2869, allocations: 23.45 kB / 0.5206 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2869, allocations: 0.7188 kB / 0.5206 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2869, allocations: 8.781 kB / 0.5206 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2869, allocations: 0.5156 kB / 0.5206 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.2873, allocations: 394.3 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2873, allocations: 0 / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.2873, allocations: 12.58 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2873, allocations: 0.9688 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2873, allocations: 4.797 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2874, allocations: 2.094 kB / 0.521 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2874, allocations: 7.984 kB / 0.521 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2876, allocations: 203.6 kB / 0.5212 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.2876, allocations: 88.83 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.2876, allocations: 5.125 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.2877, allocations: 2.859 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2877, allocations: 10.81 kB / 0.5213 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2878, allocations: 10.39 kB / 0.5213 GB, free: 7.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.2879, allocations: 153.9 kB / 0.5215 GB, free: 7.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2879, allocations: 1.125 kB / 0.5215 GB, free: 7.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.2881, allocations: 23.22 kB / 0.5215 GB, free: 7.324 MB / 346.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.0008751/0.289, allocations: 459.5 kB / 0.5219 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2892, allocations: 59 kB / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2892, allocations: 0 / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.2893, allocations: 29.22 kB / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.2896, allocations: 34.17 kB / 0.522 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.29, allocations: 286.8 kB / 0.5223 GB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2902, allocations: 0.7097 MB / 0.523 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.2902, allocations: 19.62 kB / 0.523 GB, free: 6.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2902, allocations: 0 / 0.523 GB, free: 6.188 MB / 346.7 MB Notification: Performance of Templates: time 0.003645/0.2939, allocations: 1.962 MB / 0.5249 GB, free: 5.992 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches