Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 178 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.409/1.409, allocations: 225.7 MB / 243.9 MB, free: 8.48 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.0008186/0.0008189, allocations: 92.73 kB / 295 MB, free: 9.508 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.3836/0.3836, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003216, allocations: 15.98 kB / 463.2 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3452, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002204/0.3475, allocations: 1.565 MB / 0.5143 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3488, allocations: 1.002 MB / 0.5152 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.3489, allocations: 2.781 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.3493, allocations: 251.7 kB / 0.5155 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.3496, allocations: 169.2 kB / 0.5157 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.3501, allocations: 166.3 kB / 0.5158 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.3504, allocations: 242.7 kB / 0.516 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3505, allocations: 30.58 kB / 0.5161 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3507, allocations: 118 kB / 0.5162 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3509, allocations: 173.5 kB / 0.5163 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3509, allocations: 3.062 kB / 0.5164 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.351, allocations: 50.5 kB / 0.5164 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.3511, allocations: 66.61 kB / 0.5165 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.3512, allocations: 109.9 kB / 0.5166 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.3514, allocations: 234.2 kB / 0.5168 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3514, allocations: 2.938 kB / 0.5168 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3514, allocations: 0 / 0.5168 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3514, allocations: 3.938 kB / 0.5168 GB, free: 35.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005772/0.352, allocations: 0.5166 MB / 0.5173 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3521, allocations: 14.84 kB / 0.5173 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.3521, allocations: 30.98 kB / 0.5173 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3524, allocations: 279.6 kB / 0.5176 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3524, allocations: 7.844 kB / 0.5176 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3524, allocations: 11.02 kB / 0.5176 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3527, allocations: 119.1 kB / 0.5177 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3527, allocations: 0 / 0.5177 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3527, allocations: 4.703 kB / 0.5177 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3527, allocations: 6.344 kB / 0.5178 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3528, allocations: 41.59 kB / 0.5178 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3533, allocations: 480.9 kB / 0.5183 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3537, allocations: 126.6 kB / 0.5184 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.3538, allocations: 47.5 kB / 0.5184 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3538, allocations: 6.312 kB / 0.5184 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.3541, allocations: 124.1 kB / 0.5185 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3541, allocations: 0 / 0.5185 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001151/0.3553, allocations: 0.4953 MB / 0.519 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3553, allocations: 78.98 kB / 0.5191 GB, free: 33.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.3557, allocations: 484.4 kB / 0.5196 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3557, allocations: 36.7 kB / 0.5196 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.3558, allocations: 166.6 kB / 0.5198 GB, free: 33.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.3559, allocations: 71.78 kB / 0.5198 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-06/0.3559, allocations: 4 kB / 0.5198 GB, free: 33.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.356, allocations: 344.7 kB / 0.5202 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3561, allocations: 50.77 kB / 0.5202 GB, free: 32.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3562, allocations: 99.53 kB / 0.5203 GB, free: 32.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.3565, allocations: 156.4 kB / 0.5205 GB, free: 32.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3565, allocations: 0 / 0.5205 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000329/0.3568, allocations: 240.8 kB / 0.5207 GB, free: 32.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3569, allocations: 9.031 kB / 0.5207 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3569, allocations: 0 / 0.5207 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3569, allocations: 6.625 kB / 0.5207 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.357, allocations: 45.11 kB / 0.5207 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.357, allocations: 7.688 kB / 0.5207 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.3571, allocations: 7.938 kB / 0.5208 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3571, allocations: 11.91 kB / 0.5208 GB, free: 32.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001344/0.3573, allocations: 167.9 kB / 0.5209 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3573, allocations: 34.41 kB / 0.521 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.3574, allocations: 44.36 kB / 0.521 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3574, allocations: 7.875 kB / 0.521 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3574, allocations: 3.422 kB / 0.521 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3574, allocations: 0 / 0.521 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.3582, allocations: 0.7372 MB / 0.5217 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3582, allocations: 6.094 kB / 0.5217 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.3583, allocations: 30.45 kB / 0.5218 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3583, allocations: 3.125 kB / 0.5218 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3583, allocations: 7.031 kB / 0.5218 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3583, allocations: 2.969 kB / 0.5218 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3583, allocations: 0 / 0.5218 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3587, allocations: 437.1 kB / 0.5222 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3587, allocations: 108.4 kB / 0.5223 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.3588, allocations: 5.375 kB / 0.5223 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3589, allocations: 12.55 kB / 0.5223 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.359, allocations: 23.31 kB / 0.5223 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.359, allocations: 11.53 kB / 0.5224 GB, free: 31.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.3592, allocations: 356.9 kB / 0.5227 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3592, allocations: 0 / 0.5227 GB, free: 31.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.3596, allocations: 45.44 kB / 0.5227 GB, free: 31.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00116/0.3607, allocations: 0.61 MB / 0.5233 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.361, allocations: 157.9 kB / 0.5235 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.361, allocations: 0 / 0.5235 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3612, allocations: 82.28 kB / 0.5236 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3617, allocations: 56.64 kB / 0.5236 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/0.3626, allocations: 0.6565 MB / 0.5243 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3628, allocations: 0.7805 MB / 0.525 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3629, allocations: 47.08 kB / 0.5251 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.363, allocations: 24.94 kB / 0.5251 GB, free: 29.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.363, allocations: 2.781 kB / 0.5251 GB, free: 29.7 MB / 378.7 MB Notification: Performance of Templates: time 0.005783/0.3688, allocations: 2.95 MB / 0.528 GB, free: 29.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches