Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 174.2 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.311/1.311, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0007701/0.0007702, allocations: 92.83 kB / 295 MB, free: 9.5 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.3282/0.3282, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003647, allocations: 12 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 61.89 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002118/0.3497, allocations: 1.404 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3508, allocations: 0.8965 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3509, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.3512, allocations: 44.86 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3514, allocations: 56.28 kB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3517, allocations: 97.88 kB / 0.5152 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3519, allocations: 97.34 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.352, allocations: 10.09 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.3521, allocations: 42.89 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.3522, allocations: 34.45 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3522, allocations: 3.75 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3523, allocations: 36.55 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.3524, allocations: 21 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.3524, allocations: 62.56 kB / 0.5155 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3526, allocations: 113.4 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.96 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.0005056/0.3532, allocations: 414.8 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3532, allocations: 11 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3533, allocations: 14.16 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3535, allocations: 213.7 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3535, allocations: 3.031 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3535, allocations: 6.656 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3537, allocations: 62.06 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3537, allocations: 2.812 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3537, allocations: 4 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3537, allocations: 0 / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3538, allocations: 18.2 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.3541, allocations: 286.5 kB / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3543, allocations: 57.84 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.3544, allocations: 24.75 kB / 0.5166 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3544, allocations: 0 / 0.5166 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3546, allocations: 76.17 kB / 0.5167 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3546, allocations: 0 / 0.5167 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004895/0.3551, allocations: 174.6 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.3551, allocations: 58.16 kB / 0.5169 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3553, allocations: 234 kB / 0.5172 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3553, allocations: 25.7 kB / 0.5172 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3554, allocations: 105.1 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3554, allocations: 24.83 kB / 0.5173 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.3554, allocations: 4 kB / 0.5173 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.3555, allocations: 325.4 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.3555, allocations: 23.31 kB / 0.5176 GB, free: 34.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.3556, allocations: 35.75 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.3557, allocations: 60.81 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3557, allocations: 0 / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001491/0.3558, allocations: 105.2 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3559, allocations: 6.031 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3559, allocations: 0 / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3559, allocations: 3 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.356, allocations: 18 kB / 0.5179 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.356, allocations: 1.188 kB / 0.5179 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.3561, allocations: 10.25 kB / 0.5179 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3561, allocations: 3.062 kB / 0.5179 GB, free: 33.95 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.739e-05/0.3562, allocations: 129.4 kB / 0.518 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3562, allocations: 9.469 kB / 0.518 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.3562, allocations: 19.09 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3562, allocations: 1.031 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3563, allocations: 1.062 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3563, allocations: 7.875 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3566, allocations: 404.9 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3567, allocations: 1.188 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3567, allocations: 11.75 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3567, allocations: 5.078 kB / 0.5184 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3567, allocations: 5.094 kB / 0.5184 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3567, allocations: 5.156 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3568, allocations: 4.969 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.3569, allocations: 205.8 kB / 0.5187 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.357, allocations: 89.52 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.357, allocations: 5.219 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.3571, allocations: 9.844 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3571, allocations: 4.125 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3572, allocations: 10.39 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3573, allocations: 168.9 kB / 0.5189 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3573, allocations: 1.062 kB / 0.5189 GB, free: 33.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.3575, allocations: 20.53 kB / 0.5189 GB, free: 33.04 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.0009922/0.3585, allocations: 0.5278 MB / 0.5195 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3587, allocations: 56.47 kB / 0.5195 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3587, allocations: 0 / 0.5195 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.3588, allocations: 29.11 kB / 0.5195 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3591, allocations: 24.31 kB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3596, allocations: 290.2 kB / 0.5198 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3597, allocations: 0.7053 MB / 0.5205 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.3598, allocations: 21.08 kB / 0.5206 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3598, allocations: 16.09 kB / 0.5206 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3598, allocations: 0 / 0.5206 GB, free: 31.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004145/0.364, allocations: 1.635 MB / 0.5222 GB, free: 31.6 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches