Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001058, allocations: 196.6 kB / 16.1 MB, free: 5.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.6 MB / 243.4 MB, free: 13.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007672, allocations: 102.6 kB / 295.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 44.83 MB / 392.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12 kB / 465.3 MB, free: 49.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.099, allocations: 62.96 MB / 0.5159 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002039/0.1011, allocations: 1.435 MB / 0.5173 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1025, allocations: 0.9557 MB / 0.5182 GB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.1026, allocations: 0 / 0.5182 GB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1954/0.298, allocations: 83.08 kB / 0.5183 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.2985, allocations: 101.6 kB / 0.5184 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.2989, allocations: 91.05 kB / 0.5185 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.2991, allocations: 103.3 kB / 0.5186 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2993, allocations: 18.48 kB / 0.5186 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2994, allocations: 52.48 kB / 0.5187 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2995, allocations: 57.28 kB / 0.5187 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2996, allocations: 1.844 kB / 0.5187 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2997, allocations: 52.42 kB / 0.5188 GB, free: 10.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.2998, allocations: 24.95 kB / 0.5188 GB, free: 10.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.2999, allocations: 65.58 kB / 0.5189 GB, free: 10.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3001, allocations: 104.3 kB / 0.5189 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3001, allocations: 4 kB / 0.519 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3002, allocations: 0 / 0.519 GB, free: 10 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3002, allocations: 0 / 0.519 GB, free: 10 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005376/0.3007, allocations: 415.5 kB / 0.5193 GB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3008, allocations: 9.875 kB / 0.5194 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.3008, allocations: 14.83 kB / 0.5194 GB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3011, allocations: 222 kB / 0.5196 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3011, allocations: 3.125 kB / 0.5196 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3011, allocations: 9.703 kB / 0.5196 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3013, allocations: 64.73 kB / 0.5197 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3013, allocations: 1 kB / 0.5197 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3014, allocations: 1.656 kB / 0.5197 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3014, allocations: 1.281 kB / 0.5197 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.3015, allocations: 23.02 kB / 0.5197 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3018, allocations: 300.4 kB / 0.52 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.302, allocations: 67.75 kB / 0.52 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.3021, allocations: 25.27 kB / 0.5201 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3021, allocations: 1.125 kB / 0.5201 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3023, allocations: 76.69 kB / 0.5201 GB, free: 8.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3023, allocations: 0 / 0.5201 GB, free: 8.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007657/0.3031, allocations: 248.8 kB / 0.5204 GB, free: 8.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.3031, allocations: 52.61 kB / 0.5204 GB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3034, allocations: 236.1 kB / 0.5206 GB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3034, allocations: 34.11 kB / 0.5207 GB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.3034, allocations: 107.6 kB / 0.5208 GB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.3035, allocations: 37.12 kB / 0.5208 GB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.3035, allocations: 3.062 kB / 0.5208 GB, free: 8.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.3035, allocations: 332.4 kB / 0.5211 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3036, allocations: 28.84 kB / 0.5212 GB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3037, allocations: 43.45 kB / 0.5212 GB, free: 8.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3038, allocations: 71.59 kB / 0.5213 GB, free: 8.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3038, allocations: 0 / 0.5213 GB, free: 8.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002113/0.304, allocations: 132.2 kB / 0.5214 GB, free: 8.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.304, allocations: 9.812 kB / 0.5214 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3041, allocations: 1.141 kB / 0.5214 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3041, allocations: 1.281 kB / 0.5214 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3042, allocations: 24.27 kB / 0.5214 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3042, allocations: 2.297 kB / 0.5214 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.3043, allocations: 10.19 kB / 0.5214 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3043, allocations: 3.906 kB / 0.5215 GB, free: 8.191 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 (13): * Single equations (assignments): 13 * 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.0001089/0.3044, allocations: 132.9 kB / 0.5216 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3045, allocations: 15.52 kB / 0.5216 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.3045, allocations: 22.86 kB / 0.5216 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3045, allocations: 1.656 kB / 0.5216 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3045, allocations: 0 / 0.5216 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3046, allocations: 6.547 kB / 0.5216 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.3051, allocations: 450.8 kB / 0.5221 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3051, allocations: 1.094 kB / 0.5221 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.3051, allocations: 21.83 kB / 0.5221 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3051, allocations: 2.531 kB / 0.5221 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3052, allocations: 1.922 kB / 0.5221 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3052, allocations: 6.562 kB / 0.5221 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3052, allocations: 3.938 kB / 0.5221 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3054, allocations: 241.1 kB / 0.5223 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3055, allocations: 100.2 kB / 0.5224 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.3055, allocations: 6.359 kB / 0.5224 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.3056, allocations: 4.578 kB / 0.5224 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.3057, allocations: 7.953 kB / 0.5224 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3057, allocations: 4.906 kB / 0.5224 GB, free: 7.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3058, allocations: 181.8 kB / 0.5226 GB, free: 7.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3059, allocations: 0 / 0.5226 GB, free: 7.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.3061, allocations: 34.42 kB / 0.5226 GB, free: 7.379 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001027/0.3072, allocations: 0.4981 MB / 0.5231 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3074, allocations: 84.11 kB / 0.5232 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3074, allocations: 0 / 0.5232 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.3075, allocations: 38.78 kB / 0.5232 GB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3078, allocations: 36.36 kB / 0.5233 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.3083, allocations: 339 kB / 0.5236 GB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3085, allocations: 0.7211 MB / 0.5243 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3085, allocations: 18.38 kB / 0.5243 GB, free: 6.184 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3085, allocations: 0 / 0.5243 GB, free: 6.184 MB / 346.7 MB Notification: Performance of Templates: time 0.004216/0.3128, allocations: 2.245 MB / 0.5265 GB, free: 5.957 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches