Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008671/0.0008727, allocations: 177.5 kB / 17.41 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.362/1.362, allocations: 225.7 MB / 243.9 MB, free: 8.441 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.0008215/0.0008214, allocations: 93.28 kB / 295.1 MB, free: 9.469 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.3821/0.3821, allocations: 44.31 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004028, allocations: 16 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3633, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002186/0.3656, allocations: 1.399 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3669, allocations: 0.901 MB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.367, allocations: 2.938 kB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3673, allocations: 35.97 kB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3675, allocations: 44.22 kB / 0.5151 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3677, allocations: 101.6 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3679, allocations: 86.94 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.368, allocations: 14.09 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.368, allocations: 39.56 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.3681, allocations: 32.22 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3681, allocations: 2.625 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.3682, allocations: 39.94 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.3683, allocations: 17.02 kB / 0.5154 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.3684, allocations: 56.77 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3685, allocations: 108.4 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3686, allocations: 0 / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3686, allocations: 0 / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3686, allocations: 0 / 0.5155 GB, free: 35.94 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.0005436/0.3691, allocations: 401.8 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3692, allocations: 9.375 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.3692, allocations: 7.562 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3694, allocations: 209.6 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3695, allocations: 2.969 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3695, allocations: 7.828 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3697, allocations: 54.73 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3697, allocations: 0 / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3697, allocations: 0 / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3697, allocations: 4 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.3698, allocations: 21.89 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3701, allocations: 287 kB / 0.5165 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3703, allocations: 56.56 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3704, allocations: 21.03 kB / 0.5166 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3704, allocations: 4 kB / 0.5166 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.3706, allocations: 69.33 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.3706, allocations: 2.969 kB / 0.5167 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004694/0.3711, allocations: 175.3 kB / 0.5168 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3711, allocations: 54.31 kB / 0.5169 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3712, allocations: 186.4 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3713, allocations: 33.7 kB / 0.5171 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.3713, allocations: 98.17 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3713, allocations: 29.75 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.3714, allocations: 0 / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.3714, allocations: 325.1 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.3715, allocations: 22.94 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.3715, allocations: 35.81 kB / 0.5176 GB, free: 34.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.3716, allocations: 60.5 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3716, allocations: 0 / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000144/0.3718, allocations: 97.69 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3718, allocations: 5.906 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3718, allocations: 0 / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3718, allocations: 0 / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.3719, allocations: 20.03 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3719, allocations: 1.219 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.372, allocations: 10.88 kB / 0.5178 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.372, allocations: 11.8 kB / 0.5178 GB, free: 33.96 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.927e-05/0.3721, allocations: 122.4 kB / 0.5179 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.3721, allocations: 13.06 kB / 0.5179 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.3722, allocations: 20.95 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3722, allocations: 1.062 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3722, allocations: 4 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.3722, allocations: 4.969 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.3725, allocations: 394.5 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3726, allocations: 0 / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.3726, allocations: 8.219 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3726, allocations: 1.531 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3726, allocations: 9.531 kB / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3726, allocations: 0 / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3726, allocations: 1.156 kB / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.3728, allocations: 206.2 kB / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.3728, allocations: 91.5 kB / 0.5186 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3729, allocations: 9.219 kB / 0.5186 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.373, allocations: 7.094 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.373, allocations: 6.078 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.373, allocations: 7.656 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3731, allocations: 148.1 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3731, allocations: 4 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3734, allocations: 24.36 kB / 0.5188 GB, free: 33.06 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.001095/0.3745, allocations: 0.5183 MB / 0.5193 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.3747, allocations: 60.56 kB / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3747, allocations: 4 kB / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.3747, allocations: 27.98 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3751, allocations: 28 kB / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3755, allocations: 242.9 kB / 0.5197 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3757, allocations: 0.702 MB / 0.5203 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.3757, allocations: 12 kB / 0.5204 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3758, allocations: 22.17 kB / 0.5204 GB, free: 31.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3758, allocations: 0 / 0.5204 GB, free: 31.82 MB / 378.7 MB Notification: Performance of Templates: time 0.00401/0.3798, allocations: 1.635 MB / 0.522 GB, free: 31.63 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches