Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 173.5 kB / 17.4 MB, free: 4.293 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.365/1.365, 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.0008335/0.0008335, allocations: 93.81 kB / 295.1 MB, free: 9.512 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.3269/0.3269, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 8 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3125, allocations: 61.91 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001627/0.3142, allocations: 1.401 MB / 0.5141 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3154, allocations: 0.9021 MB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.3155, allocations: 3.844 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3159, allocations: 62.59 kB / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.3161, allocations: 69.66 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3163, allocations: 100 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3165, allocations: 103 kB / 0.5153 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.3166, allocations: 13.61 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.3166, allocations: 47.83 kB / 0.5154 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.3167, allocations: 55.55 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3167, allocations: 2.625 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.461e-05/0.3168, allocations: 35.58 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.3169, allocations: 22.97 kB / 0.5155 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3169, allocations: 54.55 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3171, allocations: 112.2 kB / 0.5156 GB, free: 36.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3171, allocations: 0 / 0.5156 GB, free: 36.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3171, allocations: 0 / 0.5156 GB, free: 36.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3171, allocations: 4 kB / 0.5157 GB, free: 36.01 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.0004423/0.3176, allocations: 407.7 kB / 0.516 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3176, allocations: 8.688 kB / 0.5161 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.3177, allocations: 18.59 kB / 0.5161 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3179, allocations: 208.6 kB / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3179, allocations: 3.219 kB / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3179, allocations: 7.062 kB / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3181, allocations: 59.42 kB / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3181, allocations: 0 / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3181, allocations: 0 / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3181, allocations: 3.938 kB / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.3182, allocations: 18.98 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3186, allocations: 296.7 kB / 0.5166 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3187, allocations: 56.12 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.3188, allocations: 21.69 kB / 0.5167 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3188, allocations: 2.906 kB / 0.5167 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.319, allocations: 67.73 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.319, allocations: 3 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004873/0.3195, allocations: 170.2 kB / 0.5169 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3196, allocations: 62.95 kB / 0.517 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3197, allocations: 207 kB / 0.5172 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3198, allocations: 25.7 kB / 0.5172 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.3198, allocations: 109.2 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.3198, allocations: 25.36 kB / 0.5174 GB, free: 34.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3198, allocations: 0 / 0.5174 GB, free: 34.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.3199, allocations: 331.7 kB / 0.5177 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.32, allocations: 17.66 kB / 0.5177 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.32, allocations: 39.11 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.3201, allocations: 60.75 kB / 0.5178 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3201, allocations: 1.125 kB / 0.5178 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001604/0.3203, allocations: 104.6 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3203, allocations: 5.062 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3203, allocations: 0.6094 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3204, allocations: 2.094 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.3204, allocations: 23.38 kB / 0.5179 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3205, allocations: 1.031 kB / 0.5179 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3205, allocations: 7.125 kB / 0.5179 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3205, allocations: 3.391 kB / 0.5179 GB, free: 34 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 7.437e-05/0.3206, allocations: 128.2 kB / 0.518 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.3206, allocations: 9.922 kB / 0.5181 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.3207, allocations: 17.09 kB / 0.5181 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3207, allocations: 5.797 kB / 0.5181 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3207, allocations: 5.062 kB / 0.5181 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3207, allocations: 4.594 kB / 0.5181 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.3211, allocations: 396.4 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3211, allocations: 0 / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.3211, allocations: 9.312 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3211, allocations: 0.8438 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3211, allocations: 10.78 kB / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3211, allocations: 4.812 kB / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3212, allocations: 5.062 kB / 0.5185 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3214, allocations: 201.6 kB / 0.5187 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.3214, allocations: 93.97 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3214, allocations: 6.109 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3215, allocations: 3.75 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.3216, allocations: 5.984 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3216, allocations: 8.781 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3217, allocations: 164.5 kB / 0.519 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3217, allocations: 3.938 kB / 0.519 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.3219, allocations: 25.53 kB / 0.519 GB, free: 33.11 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.0009409/0.3229, allocations: 0.528 MB / 0.5195 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.3231, allocations: 55.91 kB / 0.5196 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3231, allocations: 0 / 0.5196 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.3231, allocations: 28.77 kB / 0.5196 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3235, allocations: 27.42 kB / 0.5196 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.3239, allocations: 265.1 kB / 0.5199 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.324, allocations: 0.7158 MB / 0.5206 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.3241, allocations: 10.11 kB / 0.5206 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3241, allocations: 18.22 kB / 0.5206 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3241, allocations: 0 / 0.5206 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003752/0.3279, allocations: 1.631 MB / 0.5222 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches