Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008907/0.0008908, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007374/0.0007375, allocations: 99.03 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2765/0.2765, allocations: 45.02 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.000259, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2963, allocations: 63.1 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001467/0.2978, allocations: 1.391 MB / 0.5227 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2989, allocations: 1.323 MB / 0.524 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.299, allocations: 0 / 0.524 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.2992, allocations: 74.38 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.2994, allocations: 86.55 kB / 0.5242 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2997, allocations: 88.33 kB / 0.5243 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2998, allocations: 104.7 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2999, allocations: 5.578 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.2999, allocations: 45.34 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.3, allocations: 41.41 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3, allocations: 2.906 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.3001, allocations: 38.36 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3002, allocations: 16.31 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.3002, allocations: 56.34 kB / 0.5246 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3004, allocations: 101.8 kB / 0.5247 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3004, allocations: 0 / 0.5247 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3004, allocations: 3 kB / 0.5247 GB, free: 36.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3004, allocations: 0 / 0.5247 GB, free: 36.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003771/0.3008, allocations: 388.5 kB / 0.525 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3008, allocations: 13 kB / 0.5251 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.3009, allocations: 11.72 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.301, allocations: 216.2 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3011, allocations: 4.375 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.3011, allocations: 6.969 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3012, allocations: 47.38 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3012, allocations: 0 / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3012, allocations: 2.406 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3012, allocations: 0 / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.3013, allocations: 14.33 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.3014, allocations: 184.6 kB / 0.5255 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3016, allocations: 53.19 kB / 0.5256 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.3016, allocations: 21.64 kB / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3016, allocations: 2.906 kB / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3018, allocations: 68.77 kB / 0.5257 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3018, allocations: 0 / 0.5257 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000221/0.302, allocations: 95.41 kB / 0.5257 GB, free: 35.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.3021, allocations: 54.59 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3022, allocations: 192.7 kB / 0.526 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.3022, allocations: 28.47 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.3022, allocations: 101 kB / 0.5261 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3023, allocations: 14.72 kB / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3023, allocations: 4 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.3023, allocations: 320.8 kB / 0.5264 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.3024, allocations: 13.3 kB / 0.5264 GB, free: 34.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.3024, allocations: 32.5 kB / 0.5265 GB, free: 34.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.3025, allocations: 46.31 kB / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3025, allocations: 0 / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001164/0.3026, allocations: 98.05 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3027, allocations: 6.062 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3027, allocations: 3.281 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3027, allocations: 0 / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.3027, allocations: 12.38 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3028, allocations: 2.844 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.3028, allocations: 3.094 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3028, allocations: 0 / 0.5266 GB, free: 34.27 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 (7): * Single equations (assignments): 7 * 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.305e-05/0.3029, allocations: 133.3 kB / 0.5268 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.3029, allocations: 9.75 kB / 0.5268 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3029, allocations: 18.17 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.303, allocations: 0 / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.303, allocations: 0 / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.303, allocations: 3.938 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.232e-05/0.3031, allocations: 188.3 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3031, allocations: 0 / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.3031, allocations: 7 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3031, allocations: 0 / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3031, allocations: 7.031 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3031, allocations: 4 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3031, allocations: 0 / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3032, allocations: 112.1 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.3033, allocations: 92.16 kB / 0.5272 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3033, allocations: 0 / 0.5272 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.3033, allocations: 3.531 kB / 0.5272 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.3034, allocations: 3.375 kB / 0.5272 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3034, allocations: 7 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.3035, allocations: 148.4 kB / 0.5273 GB, free: 33.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3035, allocations: 0 / 0.5273 GB, free: 33.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.3037, allocations: 25.58 kB / 0.5274 GB, free: 33.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008322/0.3045, allocations: 473.1 kB / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3046, allocations: 41.91 kB / 0.5279 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3047, allocations: 0 / 0.5279 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.3047, allocations: 26.78 kB / 0.5279 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.305, allocations: 30.16 kB / 0.5279 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.3053, allocations: 222.2 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3054, allocations: 0.7066 MB / 0.5288 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.3055, allocations: 16.36 kB / 0.5288 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3055, allocations: 17.12 kB / 0.5288 GB, free: 32.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3055, allocations: 3.938 kB / 0.5288 GB, free: 32.4 MB / 378.7 MB Notification: Performance of Templates: time 0.003224/0.3087, allocations: 1.427 MB / 0.5302 GB, free: 32.23 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches