Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 180 kB / 17.41 MB, free: 4.41 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.345/1.345, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0008227/0.0008227, allocations: 94.45 kB / 295.1 MB, free: 9.484 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.3112/0.3112, allocations: 44.33 MB / 390.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 15.98 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3159, allocations: 61.9 MB / 0.5127 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001623/0.3176, allocations: 1.4 MB / 0.5141 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3187, allocations: 0.8893 MB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.3188, allocations: 2.688 kB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3191, allocations: 25.67 kB / 0.515 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.3193, allocations: 58.69 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.3195, allocations: 89.8 kB / 0.5152 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3197, allocations: 95.25 kB / 0.5152 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3198, allocations: 6.172 kB / 0.5152 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.3199, allocations: 36.89 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.32, allocations: 33.86 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.32, allocations: 0 / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.3201, allocations: 39.33 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.3201, allocations: 17.09 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.3202, allocations: 57.64 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3204, allocations: 104.8 kB / 0.5155 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3204, allocations: 2.938 kB / 0.5155 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3204, allocations: 0 / 0.5155 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3204, allocations: 0 / 0.5155 GB, free: 35.88 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.0004428/0.3208, allocations: 382 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3209, allocations: 8.75 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3209, allocations: 18.72 kB / 0.5159 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3211, allocations: 202.5 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3211, allocations: 6.875 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3212, allocations: 0 / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3213, allocations: 58.75 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3213, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3213, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3213, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.3214, allocations: 22.77 kB / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3218, allocations: 286.4 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3219, allocations: 58.38 kB / 0.5165 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.322, allocations: 20.2 kB / 0.5165 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.322, allocations: 7.922 kB / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.3222, allocations: 75.55 kB / 0.5166 GB, free: 34.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3222, allocations: 0 / 0.5166 GB, free: 34.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000493/0.3227, allocations: 160.3 kB / 0.5168 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3228, allocations: 55.34 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3229, allocations: 163.5 kB / 0.517 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3229, allocations: 25.7 kB / 0.517 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.323, allocations: 102.5 kB / 0.5171 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.323, allocations: 30.03 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.323, allocations: 0 / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.3231, allocations: 321.9 kB / 0.5174 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.3232, allocations: 20.34 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.3232, allocations: 35.27 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3233, allocations: 65.02 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3233, allocations: 5.062 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.3235, allocations: 99.69 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3235, allocations: 5.531 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3236, allocations: 1 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3236, allocations: 4.688 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3237, allocations: 16.03 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3237, allocations: 4.938 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.3237, allocations: 8.406 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3238, allocations: 3.031 kB / 0.5177 GB, free: 33.93 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 8.2e-05/0.3238, allocations: 125.7 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.3239, allocations: 11.72 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.3239, allocations: 16.69 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3239, allocations: 2.031 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3239, allocations: 0 / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3239, allocations: 0.6094 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3243, allocations: 391.1 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3244, allocations: 6.656 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3244, allocations: 13.11 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3244, allocations: 0 / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3244, allocations: 3.406 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3244, allocations: 0 / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3244, allocations: 0.7969 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3246, allocations: 204.7 kB / 0.5184 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.3246, allocations: 94.02 kB / 0.5185 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3247, allocations: 3.75 kB / 0.5185 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.3247, allocations: 4.516 kB / 0.5185 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3248, allocations: 8.531 kB / 0.5185 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3248, allocations: 3.422 kB / 0.5185 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.3249, allocations: 129.3 kB / 0.5187 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3249, allocations: 0 / 0.5187 GB, free: 33.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.3251, allocations: 22.62 kB / 0.5187 GB, free: 33.05 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.0009482/0.3261, allocations: 0.5281 MB / 0.5192 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3263, allocations: 60.45 kB / 0.5193 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3263, allocations: 2.688 kB / 0.5193 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.3263, allocations: 31.69 kB / 0.5193 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3267, allocations: 27.16 kB / 0.5193 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.3271, allocations: 225 kB / 0.5195 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3272, allocations: 0.6965 MB / 0.5202 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.3273, allocations: 17.31 kB / 0.5202 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3273, allocations: 15.97 kB / 0.5203 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3273, allocations: 0 / 0.5203 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003894/0.3312, allocations: 1.618 MB / 0.5218 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches