Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 199.7 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.321/1.321, allocations: 226.6 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007439/0.0007438, allocations: 99.7 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3172/0.3172, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001781/0.3078, allocations: 1.44 MB / 0.5173 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.309, allocations: 0.9574 MB / 0.5182 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.3091, allocations: 0 / 0.5182 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.3093, allocations: 48.56 kB / 0.5183 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.3096, allocations: 77.97 kB / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3098, allocations: 99.28 kB / 0.5184 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.31, allocations: 108.4 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.3101, allocations: 21.41 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.3102, allocations: 42.44 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.3103, allocations: 45.12 kB / 0.5186 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3103, allocations: 2.75 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.3104, allocations: 54.44 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3104, allocations: 24.64 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.3105, allocations: 68.33 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3106, allocations: 106.2 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3107, allocations: 3 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3107, allocations: 3.938 kB / 0.5189 GB, free: 35.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3107, allocations: 4 kB / 0.5189 GB, free: 35.01 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000435/0.3111, allocations: 421.3 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3112, allocations: 9.906 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.3112, allocations: 13.09 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3114, allocations: 226.7 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3114, allocations: 3.281 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3115, allocations: 11.19 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3116, allocations: 71.25 kB / 0.5196 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3116, allocations: 4 kB / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3116, allocations: 0 / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3117, allocations: 2.719 kB / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.3118, allocations: 40.25 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3121, allocations: 326.1 kB / 0.52 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3123, allocations: 77.75 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.3124, allocations: 34.36 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3124, allocations: 2.844 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3126, allocations: 82.06 kB / 0.5202 GB, free: 33.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.3126, allocations: 0 / 0.5202 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007567/0.3134, allocations: 303.1 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3134, allocations: 62.22 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3136, allocations: 200.2 kB / 0.5207 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3136, allocations: 29.7 kB / 0.5207 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.3137, allocations: 105.3 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3137, allocations: 42.61 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.3137, allocations: 4 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.3138, allocations: 321.2 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.3138, allocations: 35.69 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.3139, allocations: 64.28 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3141, allocations: 107.4 kB / 0.5214 GB, free: 32.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3141, allocations: 0 / 0.5214 GB, free: 32.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002224/0.3143, allocations: 151.4 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3143, allocations: 3 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3143, allocations: 6.969 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3144, allocations: 32 / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.3144, allocations: 32.17 kB / 0.5216 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3145, allocations: 7.781 kB / 0.5216 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.3145, allocations: 6.906 kB / 0.5216 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3145, allocations: 5.812 kB / 0.5216 GB, free: 32.84 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 (15): * Single equations (assignments): 15 * 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.815e-05/0.3146, allocations: 130.7 kB / 0.5217 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3147, allocations: 16.69 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.3147, allocations: 18.59 kB / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3147, allocations: 2.688 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3147, allocations: 7.938 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3147, allocations: 3.375 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.3152, allocations: 494.1 kB / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3152, allocations: 0 / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.3153, allocations: 16.19 kB / 0.5222 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3153, allocations: 2.625 kB / 0.5223 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3153, allocations: 9.891 kB / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3153, allocations: 0 / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3153, allocations: 6.844 kB / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3156, allocations: 245 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3156, allocations: 98 kB / 0.5226 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3156, allocations: 0 / 0.5226 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.3157, allocations: 14.14 kB / 0.5226 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3158, allocations: 9.375 kB / 0.5226 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3158, allocations: 5.656 kB / 0.5226 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.3159, allocations: 146.6 kB / 0.5228 GB, free: 31.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3159, allocations: 0 / 0.5228 GB, free: 31.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.3162, allocations: 30.5 kB / 0.5228 GB, free: 31.89 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 (13): * Single equations (assignments): 11 * 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.001003/0.3172, allocations: 0.5189 MB / 0.5233 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3174, allocations: 96.53 kB / 0.5234 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3174, allocations: 0 / 0.5234 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.3175, allocations: 48.59 kB / 0.5234 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3178, allocations: 28.62 kB / 0.5235 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.3183, allocations: 340.6 kB / 0.5238 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3184, allocations: 0.713 MB / 0.5245 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3185, allocations: 29.52 kB / 0.5245 GB, free: 30.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3185, allocations: 0 / 0.5245 GB, free: 30.61 MB / 378.7 MB Notification: Performance of Templates: time 0.003376/0.3219, allocations: 2.373 MB / 0.5268 GB, free: 30.35 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches