Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 193.1 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.286/1.286, allocations: 229.5 MB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007663/0.0007662, allocations: 95.59 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3402/0.3402, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002335, allocations: 12 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 63.09 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001542/0.2693, allocations: 1.433 MB / 0.5228 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2705, allocations: 1.345 MB / 0.5241 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.2706, allocations: 3.938 kB / 0.5241 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2708, allocations: 47.81 kB / 0.5241 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.271, allocations: 72.69 kB / 0.5242 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2713, allocations: 96.14 kB / 0.5243 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2714, allocations: 102.2 kB / 0.5244 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.2715, allocations: 13.25 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.2715, allocations: 41.11 kB / 0.5244 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.2716, allocations: 37.62 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2716, allocations: 0 / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.2717, allocations: 35.98 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.2718, allocations: 29.73 kB / 0.5245 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.2718, allocations: 54.64 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.272, allocations: 116.4 kB / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.272, allocations: 0 / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.272, allocations: 0 / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.272, allocations: 4 kB / 0.5247 GB, free: 35.91 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.0003546/0.2723, allocations: 413.1 kB / 0.5251 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2724, allocations: 8.656 kB / 0.5251 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2724, allocations: 10.16 kB / 0.5251 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2726, allocations: 213.5 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2726, allocations: 3.469 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2726, allocations: 14.75 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2727, allocations: 55.11 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2728, allocations: 3.984 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2728, allocations: 4 kB / 0.5254 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2728, allocations: 0 / 0.5254 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.2728, allocations: 18.39 kB / 0.5254 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.2731, allocations: 287.3 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2732, allocations: 62.48 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.2733, allocations: 20.84 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2733, allocations: 0 / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.2735, allocations: 75.11 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2735, allocations: 0 / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004218/0.2739, allocations: 169.2 kB / 0.526 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.2739, allocations: 57.97 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2741, allocations: 209.5 kB / 0.5263 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2741, allocations: 28.45 kB / 0.5263 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.2741, allocations: 102.5 kB / 0.5264 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2742, allocations: 32.56 kB / 0.5264 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2742, allocations: 4 kB / 0.5264 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.2742, allocations: 324.4 kB / 0.5267 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.2743, allocations: 26.2 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.2743, allocations: 42.73 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.2744, allocations: 54.17 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2744, allocations: 0 / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001371/0.2746, allocations: 98.61 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2746, allocations: 8.844 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2746, allocations: 2.906 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2746, allocations: 0 / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.2747, allocations: 16.41 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2747, allocations: 10.52 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.2748, allocations: 9.719 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2748, allocations: 6.5 kB / 0.527 GB, free: 33.91 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.572e-05/0.2748, allocations: 123.9 kB / 0.5271 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.2749, allocations: 14.16 kB / 0.5271 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.2749, allocations: 14.72 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2749, allocations: 0 / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2749, allocations: 4 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2749, allocations: 10.22 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.2752, allocations: 395.2 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2752, allocations: 0 / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.2753, allocations: 8.719 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2753, allocations: 0 / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2753, allocations: 10.38 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2753, allocations: 0 / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2753, allocations: 4.031 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2755, allocations: 204.8 kB / 0.5278 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.2755, allocations: 86.98 kB / 0.5278 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2755, allocations: 6.875 kB / 0.5278 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.2756, allocations: 7.25 kB / 0.5278 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.2756, allocations: 6.094 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2757, allocations: 6.625 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.833e-05/0.2758, allocations: 158.8 kB / 0.528 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2758, allocations: 0 / 0.528 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.276, allocations: 22.59 kB / 0.528 GB, free: 33.03 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.0008542/0.2769, allocations: 0.5358 MB / 0.5286 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.277, allocations: 58.88 kB / 0.5286 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.277, allocations: 0 / 0.5286 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.2771, allocations: 38.89 kB / 0.5286 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.2774, allocations: 27.23 kB / 0.5287 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.2777, allocations: 267.2 kB / 0.5289 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2779, allocations: 0.7167 MB / 0.5296 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.2779, allocations: 9.859 kB / 0.5296 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2779, allocations: 20.91 kB / 0.5297 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2779, allocations: 0 / 0.5297 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003374/0.2813, allocations: 1.645 MB / 0.5313 GB, free: 31.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches