Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000995/0.0009953, allocations: 197.6 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007252/0.0007251, allocations: 102.6 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3004/0.3004, allocations: 44.82 MB / 392.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001588/0.2855, allocations: 1.439 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2866, allocations: 0.9557 MB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.2867, allocations: 0 / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.287, allocations: 86.72 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2872, allocations: 102.5 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.2875, allocations: 96.58 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.2876, allocations: 108.6 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.2877, allocations: 17.41 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.2878, allocations: 57.66 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2879, allocations: 53.12 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2879, allocations: 6.594 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.288, allocations: 50.88 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.2881, allocations: 26.73 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.2881, allocations: 61.69 kB / 0.5189 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2883, allocations: 107.6 kB / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2883, allocations: 0 / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2883, allocations: 0 / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2883, allocations: 0 / 0.519 GB, free: 35.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004111/0.2887, allocations: 417.7 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2887, allocations: 11.81 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.2888, allocations: 14.81 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.289, allocations: 231.2 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.289, allocations: 3.5 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.289, allocations: 11.19 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2891, allocations: 54.8 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2892, allocations: 8 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2892, allocations: 3.375 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2892, allocations: 3.125 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.2893, allocations: 19.34 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.2896, allocations: 298.9 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2898, allocations: 69.97 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.2899, allocations: 21.28 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2899, allocations: 0 / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.2901, allocations: 71.84 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2901, allocations: 2.844 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006279/0.2907, allocations: 250.1 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2907, allocations: 55.34 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.2909, allocations: 227.6 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2909, allocations: 25.7 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.291, allocations: 109.3 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.291, allocations: 40.48 kB / 0.5208 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.291, allocations: 2.875 kB / 0.5208 GB, free: 33.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.2911, allocations: 332.3 kB / 0.5211 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.2911, allocations: 25.25 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.2912, allocations: 48.75 kB / 0.5212 GB, free: 33.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2913, allocations: 78.16 kB / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2913, allocations: 0 / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001705/0.2915, allocations: 120.2 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2915, allocations: 9.938 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2915, allocations: 3.281 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2916, allocations: 2.531 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.2916, allocations: 21.03 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2917, allocations: 11.11 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.2917, allocations: 6.969 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2917, allocations: 5.594 kB / 0.5215 GB, free: 33.11 MB / 378.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 7.809e-05/0.2918, allocations: 134.5 kB / 0.5216 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2918, allocations: 20.19 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.2919, allocations: 18.67 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2919, allocations: 2.969 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2919, allocations: 3.938 kB / 0.5216 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2919, allocations: 0 / 0.5216 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.2923, allocations: 456.6 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2923, allocations: 2.969 kB / 0.5221 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.2924, allocations: 22.17 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2924, allocations: 6.297 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2924, allocations: 6.719 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2924, allocations: 0 / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2924, allocations: 4 kB / 0.5221 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.2926, allocations: 236.3 kB / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2926, allocations: 91.05 kB / 0.5224 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2927, allocations: 6.875 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.2927, allocations: 6.844 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2928, allocations: 12.83 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2928, allocations: 7 kB / 0.5225 GB, free: 32.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.2929, allocations: 182.2 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2929, allocations: 0 / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.2932, allocations: 28.97 kB / 0.5227 GB, free: 32.15 MB / 378.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.0009544/0.2941, allocations: 0.5033 MB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2943, allocations: 84.56 kB / 0.5232 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2943, allocations: 0 / 0.5232 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.2944, allocations: 37.97 kB / 0.5233 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2947, allocations: 28.73 kB / 0.5233 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.2951, allocations: 343.6 kB / 0.5236 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2953, allocations: 0.7159 MB / 0.5243 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.2953, allocations: 19.31 kB / 0.5243 GB, free: 30.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2953, allocations: 0 / 0.5243 GB, free: 30.89 MB / 378.7 MB Notification: Performance of Templates: time 0.003165/0.2985, allocations: 2.252 MB / 0.5265 GB, free: 30.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches