Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008916/0.0008917, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007338/0.0007338, allocations: 91.16 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2878/0.2878, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002466, allocations: 8 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 63.1 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001728/0.3009, allocations: 1.397 MB / 0.5227 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3022, allocations: 1.32 MB / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.3023, allocations: 0 / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3026, allocations: 69.45 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3029, allocations: 91.67 kB / 0.5242 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.3031, allocations: 90.12 kB / 0.5243 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3033, allocations: 97.2 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.3033, allocations: 9.297 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.3034, allocations: 45.41 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.3035, allocations: 41.61 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3035, allocations: 6.844 kB / 0.5245 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.3036, allocations: 32.02 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.3037, allocations: 19.09 kB / 0.5245 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.3037, allocations: 57.36 kB / 0.5246 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3039, allocations: 101.2 kB / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3039, allocations: 0 / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3039, allocations: 0 / 0.5247 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3039, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004025/0.3044, allocations: 387.7 kB / 0.525 GB, free: 35.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3044, allocations: 14.28 kB / 0.5251 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3044, allocations: 13.97 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3046, allocations: 212.7 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3046, allocations: 2.531 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3047, allocations: 6.375 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3048, allocations: 50.5 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3048, allocations: 0 / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3048, allocations: 0 / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3048, allocations: 3.984 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.3049, allocations: 14.42 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.3051, allocations: 186.2 kB / 0.5255 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3052, allocations: 57.89 kB / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3052, allocations: 21.73 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3053, allocations: 3.422 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3054, allocations: 62.94 kB / 0.5257 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3054, allocations: 0 / 0.5257 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002374/0.3057, allocations: 96.98 kB / 0.5257 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3057, allocations: 55.41 kB / 0.5258 GB, free: 34.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3059, allocations: 194.3 kB / 0.526 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3059, allocations: 25.7 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.3059, allocations: 100.4 kB / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.306, allocations: 14.5 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.306, allocations: 4 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.306, allocations: 327.7 kB / 0.5264 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.3061, allocations: 12.72 kB / 0.5265 GB, free: 34.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.3061, allocations: 29.88 kB / 0.5265 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.3062, allocations: 46.19 kB / 0.5265 GB, free: 34.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3062, allocations: 0 / 0.5265 GB, free: 34.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.3063, allocations: 86.47 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3063, allocations: 8.969 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3064, allocations: 7.938 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3064, allocations: 2.75 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.3064, allocations: 12.47 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3064, allocations: 0 / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.3065, allocations: 3.031 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3065, allocations: 5.969 kB / 0.5266 GB, free: 34.26 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.121e-05/0.3066, allocations: 130.7 kB / 0.5268 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.3066, allocations: 9.531 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.3066, allocations: 15.2 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3067, allocations: 2.938 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3067, allocations: 0 / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3067, allocations: 3.938 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.3068, allocations: 190.2 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3068, allocations: 0 / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.3068, allocations: 6.922 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3068, allocations: 2.906 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3068, allocations: 0 / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3068, allocations: 4 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3068, allocations: 3.984 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.307, allocations: 118.2 kB / 0.5271 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.307, allocations: 87.09 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.307, allocations: 0 / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.3071, allocations: 2.781 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3071, allocations: 6.312 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3071, allocations: 8 kB / 0.5272 GB, free: 33.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.089e-05/0.3072, allocations: 145.2 kB / 0.5273 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3072, allocations: 0 / 0.5273 GB, free: 33.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.3074, allocations: 20.67 kB / 0.5274 GB, free: 33.6 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.0007643/0.3082, allocations: 473.5 kB / 0.5278 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3083, allocations: 48 kB / 0.5279 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3083, allocations: 0 / 0.5279 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.3084, allocations: 22.52 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.0002221/0.3086, allocations: 30.14 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.000317/0.3089, allocations: 229.3 kB / 0.5281 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3091, allocations: 0.702 MB / 0.5288 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.3091, allocations: 13.55 kB / 0.5288 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3091, allocations: 17.28 kB / 0.5288 GB, free: 32.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3091, allocations: 2.906 kB / 0.5289 GB, free: 32.39 MB / 378.7 MB Notification: Performance of Templates: time 0.003372/0.3125, allocations: 1.426 MB / 0.5302 GB, free: 32.22 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches