Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 175 kB / 17.41 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009441, allocations: 92.19 kB / 295 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3587/0.3587, allocations: 44.31 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 8 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3167, allocations: 61.89 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001787/0.3185, allocations: 1.366 MB / 0.5141 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3198, allocations: 0.8728 MB / 0.5149 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.3199, allocations: 3.938 kB / 0.5149 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3202, allocations: 59.48 kB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3204, allocations: 61.48 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.3208, allocations: 92.52 kB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3209, allocations: 92.03 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.321, allocations: 6.5 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.3211, allocations: 39.02 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.3212, allocations: 49.98 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3212, allocations: 3.938 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.3213, allocations: 24.81 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3214, allocations: 18.94 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.3214, allocations: 57.22 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3216, allocations: 89.8 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3216, allocations: 0 / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3216, allocations: 4 kB / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3216, allocations: 0 / 0.5155 GB, free: 35.97 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.0003862/0.322, allocations: 394.8 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3221, allocations: 8.062 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3221, allocations: 10.56 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.3223, allocations: 211.4 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3223, allocations: 384 / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3223, allocations: 4.125 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3225, allocations: 52.19 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3225, allocations: 3.328 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3225, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3225, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/0.3226, allocations: 19.67 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.3227, allocations: 177.3 kB / 0.5163 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3228, allocations: 52.58 kB / 0.5164 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.3229, allocations: 28.34 kB / 0.5164 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3229, allocations: 0 / 0.5164 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3231, allocations: 63.28 kB / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3231, allocations: 0 / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00024/0.3233, allocations: 100.4 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3234, allocations: 57.94 kB / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3235, allocations: 183.2 kB / 0.5168 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.3235, allocations: 28.98 kB / 0.5168 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3236, allocations: 97.61 kB / 0.5169 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3236, allocations: 17.84 kB / 0.5169 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.3236, allocations: 0 / 0.5169 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.3237, allocations: 320.6 kB / 0.5173 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.3237, allocations: 13 kB / 0.5173 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.3238, allocations: 37.7 kB / 0.5173 GB, free: 34.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.3238, allocations: 46.77 kB / 0.5173 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3239, allocations: 0 / 0.5173 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001195/0.324, allocations: 88.94 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.324, allocations: 6.094 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.324, allocations: 0 / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.324, allocations: 0 / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.3241, allocations: 11.84 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3241, allocations: 7 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.3242, allocations: 3.031 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3242, allocations: 0 / 0.5175 GB, free: 34.16 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.431e-05/0.3242, allocations: 134.5 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3243, allocations: 9.656 kB / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.3243, allocations: 7.312 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3243, allocations: 6.297 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3243, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3243, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.3244, allocations: 190.7 kB / 0.5178 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3244, allocations: 3.562 kB / 0.5178 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.3244, allocations: 2.844 kB / 0.5178 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3245, allocations: 3.938 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3245, allocations: 3.219 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3245, allocations: 0 / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3245, allocations: 4 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3246, allocations: 115.4 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.3247, allocations: 87.22 kB / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3247, allocations: 6.906 kB / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.3247, allocations: 0 / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3248, allocations: 10.09 kB / 0.518 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3248, allocations: 2.969 kB / 0.518 GB, free: 33.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.3248, allocations: 142.6 kB / 0.5182 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3249, allocations: 0 / 0.5182 GB, free: 33.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.325, allocations: 18.66 kB / 0.5182 GB, free: 33.5 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.0008128/0.3259, allocations: 473.2 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.326, allocations: 45.72 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.326, allocations: 1.062 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.3261, allocations: 18.44 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.3263, allocations: 31.17 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.3266, allocations: 224.1 kB / 0.5189 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3268, allocations: 0.7007 MB / 0.5196 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.3269, allocations: 10.7 kB / 0.5196 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3269, allocations: 21.95 kB / 0.5196 GB, free: 32.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3269, allocations: 0 / 0.5196 GB, free: 32.31 MB / 378.7 MB Notification: Performance of Templates: time 0.003981/0.3309, allocations: 1.387 MB / 0.521 GB, free: 32.16 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches