Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Media.check_Medium.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) 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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Media.check_Medium,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.check_Medium") translateModel(Physiolibrary.Media.check_Medium,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.check_Medium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1387/0.1387, allocations: 15.28 MB / 30.53 MB, free: 3.199 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.0009937, allocations: 191.5 kB / 35.63 MB, free: 2.25 MB / 24.77 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.5/1.5, allocations: 225.7 MB / 266.3 MB, free: 6.148 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.0009107/0.0009108, allocations: 102.4 kB / 321.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1288/0.1288, allocations: 20.55 MB / 397.6 MB, free: 42.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004615, allocations: 15.98 kB / 469.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3384, allocations: 59.78 MB / 0.5168 GB, free: 40.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.check_Medium): time 0.008183/0.3467, allocations: 8.396 MB / 0.525 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3488, allocations: 2.94 MB / 0.5279 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.3489, allocations: 1.062 kB / 0.5279 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.3492, allocations: 52.64 kB / 0.5279 GB, free: 34.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.3519, allocations: 0.7862 MB / 0.5287 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.3525, allocations: 202.1 kB / 0.5289 GB, free: 33.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.3529, allocations: 431.5 kB / 0.5293 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3531, allocations: 69.45 kB / 0.5294 GB, free: 33.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.3541, allocations: 463.3 kB / 0.5298 GB, free: 33.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.3544, allocations: 247.9 kB / 0.5301 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.3544, allocations: 8.719 kB / 0.5301 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3568, allocations: 1.092 MB / 0.5311 GB, free: 32.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.357, allocations: 117.2 kB / 0.5312 GB, free: 32.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3572, allocations: 161.4 kB / 0.5314 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.3589, allocations: 1.158 MB / 0.5325 GB, free: 32.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3589, allocations: 3.938 kB / 0.5325 GB, free: 32.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3589, allocations: 0 / 0.5325 GB, free: 32.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.359, allocations: 0 / 0.5325 GB, free: 32.36 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000878/0.3598, allocations: 0.6123 MB / 0.5331 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3599, allocations: 13.03 kB / 0.5331 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.3606, allocations: 156.8 kB / 0.5333 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.3609, allocations: 250 kB / 0.5335 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3609, allocations: 13.72 kB / 0.5335 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.3609, allocations: 27.98 kB / 0.5336 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.3615, allocations: 499.8 kB / 0.534 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3615, allocations: 0 / 0.534 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3615, allocations: 6.969 kB / 0.534 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.3616, allocations: 17.91 kB / 0.5341 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.3622, allocations: 0.5802 MB / 0.5346 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.3636, allocations: 1.406 MB / 0.536 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.3639, allocations: 244.3 kB / 0.5362 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.3641, allocations: 169.1 kB / 0.5364 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.3642, allocations: 137.7 kB / 0.5365 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3643, allocations: 38.5 kB / 0.5366 GB, free: 29.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.3643, allocations: 0 / 0.5366 GB, free: 29.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.000739/0.365, allocations: 0.5312 MB / 0.5371 GB, free: 29.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3651, allocations: 53.81 kB / 0.5371 GB, free: 29.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3652, allocations: 197.4 kB / 0.5373 GB, free: 29.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3653, allocations: 29.7 kB / 0.5374 GB, free: 29.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3653, allocations: 164 kB / 0.5375 GB, free: 29.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.3654, allocations: 124 kB / 0.5376 GB, free: 29.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.3654, allocations: 4 kB / 0.5376 GB, free: 29.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.3655, allocations: 337.2 kB / 0.538 GB, free: 28.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3657, allocations: 155 kB / 0.5381 GB, free: 28.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.366, allocations: 337.3 kB / 0.5384 GB, free: 28.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.3666, allocations: 0.5422 MB / 0.539 GB, free: 28.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3666, allocations: 6.969 kB / 0.539 GB, free: 28.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006958/0.3673, allocations: 0.5389 MB / 0.5395 GB, free: 28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3673, allocations: 8.688 kB / 0.5395 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3673, allocations: 9.875 kB / 0.5395 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.3674, allocations: 9.469 kB / 0.5395 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3677, allocations: 107.1 kB / 0.5396 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3677, allocations: 10.03 kB / 0.5396 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3679, allocations: 46.09 kB / 0.5397 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.368, allocations: 36.84 kB / 0.5397 GB, free: 27.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0001347/0.3681, allocations: 171.4 kB / 0.5399 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.3681, allocations: 20.59 kB / 0.5399 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3692, allocations: 0.6357 MB / 0.5405 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3693, allocations: 3.219 kB / 0.5405 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3693, allocations: 0 / 0.5405 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3693, allocations: 0 / 0.5405 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3696, allocations: 292 kB / 0.5408 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3696, allocations: 7.875 kB / 0.5408 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3697, allocations: 43.48 kB / 0.5408 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3697, allocations: 0 / 0.5408 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3698, allocations: 9.5 kB / 0.5408 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3698, allocations: 4 kB / 0.5408 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3698, allocations: 3.594 kB / 0.5409 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.3701, allocations: 303.9 kB / 0.5411 GB, free: 27.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3703, allocations: 148.1 kB / 0.5413 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3703, allocations: 7.938 kB / 0.5413 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3704, allocations: 2.719 kB / 0.5413 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3705, allocations: 23.39 kB / 0.5413 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.3705, allocations: 11.62 kB / 0.5413 GB, free: 26.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3707, allocations: 190.6 kB / 0.5415 GB, free: 26.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3707, allocations: 2.875 kB / 0.5415 GB, free: 26.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008009/0.3715, allocations: 268.7 kB / 0.5418 GB, free: 26.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0008277/0.3723, allocations: 0.5499 MB / 0.5423 GB, free: 26.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.3728, allocations: 379.8 kB / 0.5427 GB, free: 26.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3728, allocations: 4.188 kB / 0.5427 GB, free: 26.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.373, allocations: 136.5 kB / 0.5428 GB, free: 26.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.3734, allocations: 83.5 kB / 0.5429 GB, free: 26.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.3764, allocations: 3.135 MB / 0.5459 GB, free: 24.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.3766, allocations: 0.7692 MB / 0.5467 GB, free: 23.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006182/0.3772, allocations: 187.9 kB / 0.5469 GB, free: 23.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3774, allocations: 102.6 kB / 0.547 GB, free: 23.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3774, allocations: 0 / 0.547 GB, free: 23.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01343/0.3908, allocations: 9.648 MB / 0.5564 GB, free: 22.88 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Media.check_Medium.makefile (rm -f Physiolibrary_Physiolibrary.Media.check_Medium.pipe ; mkfifo Physiolibrary_Physiolibrary.Media.check_Medium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Media.check_Medium.pipe >> ../files/Physiolibrary_Physiolibrary.Media.check_Medium.sim & ./Physiolibrary_Physiolibrary.Media.check_Medium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Media.check_Medium.pipe 2>&1)