Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007055/0.0007055, allocations: 95.64 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3017/0.3017, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2825, allocations: 63.09 MB / 0.5214 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001593/0.2842, allocations: 1.431 MB / 0.5228 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2854, allocations: 1.343 MB / 0.5241 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.2855, allocations: 0 / 0.5241 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.2857, allocations: 47.52 kB / 0.5241 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.286, allocations: 77.94 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.2862, allocations: 96.31 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2863, allocations: 101.9 kB / 0.5244 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.2864, allocations: 6.281 kB / 0.5244 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.2865, allocations: 43.78 kB / 0.5244 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.2866, allocations: 37.52 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2866, allocations: 2.531 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.2867, allocations: 38.78 kB / 0.5245 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2867, allocations: 22.72 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.2868, allocations: 61.97 kB / 0.5246 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.2869, allocations: 114 kB / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2869, allocations: 2.5 kB / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2869, allocations: 0 / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.2869, allocations: 0 / 0.5247 GB, free: 36.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003844/0.2873, allocations: 416.2 kB / 0.5251 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.2874, allocations: 7.906 kB / 0.5251 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.2874, allocations: 10.22 kB / 0.5251 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.2876, allocations: 220.5 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2876, allocations: 2.906 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2876, allocations: 8.031 kB / 0.5253 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2878, allocations: 53.25 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2878, allocations: 0 / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2878, allocations: 4 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2878, allocations: 2.781 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.2879, allocations: 18.2 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.2881, allocations: 297.2 kB / 0.5257 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.2883, allocations: 53.78 kB / 0.5258 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.2883, allocations: 20.61 kB / 0.5258 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2884, allocations: 2.906 kB / 0.5258 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2885, allocations: 73.61 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.2885, allocations: 0 / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005027/0.289, allocations: 172.7 kB / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2891, allocations: 55.34 kB / 0.5261 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2893, allocations: 211.8 kB / 0.5263 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2893, allocations: 28.64 kB / 0.5263 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.2893, allocations: 105.2 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2894, allocations: 25.73 kB / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2894, allocations: 0 / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.2895, allocations: 332.5 kB / 0.5267 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.2895, allocations: 16.25 kB / 0.5268 GB, free: 34.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.2896, allocations: 36.73 kB / 0.5268 GB, free: 34.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.2897, allocations: 68.22 kB / 0.5269 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2897, allocations: 3.938 kB / 0.5269 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000144/0.2898, allocations: 94.48 kB / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2898, allocations: 3.219 kB / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2899, allocations: 2.656 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2899, allocations: 3.938 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.29, allocations: 25.16 kB / 0.527 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.29, allocations: 8.172 kB / 0.527 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.29, allocations: 6.781 kB / 0.527 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.29, allocations: 2.844 kB / 0.527 GB, free: 34.07 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.2901, allocations: 126.8 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.2901, allocations: 13.47 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.2902, allocations: 18.23 kB / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2902, allocations: 2.906 kB / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2902, allocations: 0 / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2902, allocations: 3.938 kB / 0.5272 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2905, allocations: 400.7 kB / 0.5275 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2905, allocations: 0 / 0.5275 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.2906, allocations: 8.719 kB / 0.5275 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2906, allocations: 0 / 0.5275 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2906, allocations: 6.844 kB / 0.5276 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2906, allocations: 0 / 0.5276 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2906, allocations: 0 / 0.5276 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2907, allocations: 210.8 kB / 0.5278 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.2908, allocations: 91.38 kB / 0.5278 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2908, allocations: 6.812 kB / 0.5278 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.2909, allocations: 2.562 kB / 0.5278 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.2909, allocations: 6.047 kB / 0.5279 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2909, allocations: 7.016 kB / 0.5279 GB, free: 33.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.291, allocations: 164.4 kB / 0.528 GB, free: 33.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2911, allocations: 0 / 0.528 GB, free: 33.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.2913, allocations: 20.84 kB / 0.528 GB, free: 33.19 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009287/0.2922, allocations: 0.5326 MB / 0.5286 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2924, allocations: 62.22 kB / 0.5286 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2924, allocations: 0 / 0.5286 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.2924, allocations: 29.73 kB / 0.5286 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2927, allocations: 22.67 kB / 0.5287 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.2931, allocations: 273.1 kB / 0.5289 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2932, allocations: 0.7039 MB / 0.5296 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.2933, allocations: 27.56 kB / 0.5296 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.2933, allocations: 13.16 kB / 0.5297 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2933, allocations: 2.781 kB / 0.5297 GB, free: 31.9 MB / 378.7 MB Notification: Performance of Templates: time 0.003394/0.2967, allocations: 1.64 MB / 0.5313 GB, free: 31.73 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches