Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 178.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.33/1.33, 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.0008277/0.0008277, allocations: 93.19 kB / 295 MB, free: 9.492 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.3371/0.3371, allocations: 44.32 MB / 390.5 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 11.98 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3467, allocations: 61.9 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001862/0.3486, allocations: 1.417 MB / 0.5141 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3498, allocations: 0.9016 MB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.3499, allocations: 3.938 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3502, allocations: 80.58 kB / 0.5151 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3505, allocations: 68.11 kB / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3507, allocations: 102.5 kB / 0.5153 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3509, allocations: 112.9 kB / 0.5154 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.351, allocations: 5.969 kB / 0.5154 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.3511, allocations: 53.44 kB / 0.5154 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.3512, allocations: 58.25 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3513, allocations: 4 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3514, allocations: 57.25 kB / 0.5155 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.3514, allocations: 25.92 kB / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.3515, allocations: 57.55 kB / 0.5156 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3517, allocations: 133 kB / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3517, allocations: 0 / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3517, allocations: 0 / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3517, allocations: 0 / 0.5157 GB, free: 35.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004701/0.3522, allocations: 419.9 kB / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3522, allocations: 12.84 kB / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3523, allocations: 14.42 kB / 0.5162 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3525, allocations: 211.8 kB / 0.5164 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3525, allocations: 384 / 0.5164 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.3525, allocations: 11.19 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3527, allocations: 63.14 kB / 0.5164 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3527, allocations: 3.938 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3527, allocations: 0 / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3527, allocations: 2.719 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.3528, allocations: 28.95 kB / 0.5165 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.3531, allocations: 304.9 kB / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3534, allocations: 58.98 kB / 0.5168 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.3534, allocations: 24.2 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3535, allocations: 2.812 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.3537, allocations: 75.84 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3537, allocations: 0 / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006819/0.3543, allocations: 242.7 kB / 0.5171 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.3544, allocations: 55.34 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3546, allocations: 227.8 kB / 0.5174 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3546, allocations: 25.7 kB / 0.5174 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.3546, allocations: 113.7 kB / 0.5175 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3547, allocations: 33.03 kB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.3547, allocations: 0 / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.3547, allocations: 328 kB / 0.5179 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.3548, allocations: 29.91 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.3549, allocations: 42.75 kB / 0.518 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.355, allocations: 85.41 kB / 0.518 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.355, allocations: 0 / 0.518 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001879/0.3552, allocations: 128.9 kB / 0.5182 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3552, allocations: 5.469 kB / 0.5182 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3552, allocations: 1.328 kB / 0.5182 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3553, allocations: 0.7188 kB / 0.5182 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.3554, allocations: 20.44 kB / 0.5182 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3554, allocations: 9.656 kB / 0.5182 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3554, allocations: 7.234 kB / 0.5182 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3554, allocations: 8.656 kB / 0.5182 GB, free: 33.88 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 (13): * Single equations (assignments): 13 * 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.995e-05/0.3555, allocations: 129.5 kB / 0.5183 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.3556, allocations: 14.47 kB / 0.5184 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.3556, allocations: 22.81 kB / 0.5184 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3556, allocations: 1.031 kB / 0.5184 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3556, allocations: 9.031 kB / 0.5184 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3557, allocations: 0.7031 kB / 0.5184 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.3561, allocations: 456.5 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3561, allocations: 1.188 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.3562, allocations: 17.2 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3562, allocations: 1.188 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3562, allocations: 3.156 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3562, allocations: 1.438 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3562, allocations: 2.188 kB / 0.5188 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3565, allocations: 230.8 kB / 0.5191 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3565, allocations: 96.03 kB / 0.5192 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3566, allocations: 3.203 kB / 0.5192 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.3566, allocations: 7.219 kB / 0.5192 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.3567, allocations: 7.594 kB / 0.5192 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3567, allocations: 14.25 kB / 0.5192 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.3569, allocations: 165.4 kB / 0.5193 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3569, allocations: 3.938 kB / 0.5194 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.3572, allocations: 30.39 kB / 0.5194 GB, free: 32.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00135/0.3586, allocations: 0.5872 MB / 0.52 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3588, allocations: 76.36 kB / 0.52 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3588, allocations: 9.125 kB / 0.52 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.3589, allocations: 38.55 kB / 0.5201 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3593, allocations: 35.83 kB / 0.5201 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.36, allocations: 316.5 kB / 0.5204 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3602, allocations: 0.7123 MB / 0.5211 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.3603, allocations: 24.09 kB / 0.5211 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.3603, allocations: 19.84 kB / 0.5211 GB, free: 31.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3603, allocations: 0 / 0.5211 GB, free: 31.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004313/0.3646, allocations: 1.872 MB / 0.523 GB, free: 31.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches