Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 79.7 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8397/0.8397, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.504e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02204/0.02206, allocations: 33.85 MB / 358.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.02557, allocations: 4.163 MB / 362.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.02584, allocations: 7.938 kB / 362.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.0265, allocations: 286.1 kB / 362.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.02719, allocations: 0.5045 MB / 363.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.03059, allocations: 1.665 MB / 365.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.0317, allocations: 1.287 MB / 366.3 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.0319, allocations: 107.1 kB / 366.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.03249, allocations: 0.6429 MB / 367.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.03283, allocations: 378.9 kB / 367.5 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.03288, allocations: 44 kB / 367.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.03399, allocations: 0.7334 MB / 368.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.03411, allocations: 143.5 kB / 368.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.03426, allocations: 207.6 kB / 368.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.03536, allocations: 1.173 MB / 369.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03536, allocations: 0 / 369.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.03536, allocations: 0 / 369.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.03538, allocations: 0 / 369.7 MB, free: 2.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001031/0.03641, allocations: 0.7182 MB / 370.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.03646, allocations: 8.031 kB / 370.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.03652, allocations: 82.7 kB / 370.6 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.03688, allocations: 80.62 kB / 370.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.03734, allocations: 277 kB / 370.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.03736, allocations: 37.38 kB / 370.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.03741, allocations: 36.38 kB / 371 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.03795, allocations: 0.6618 MB / 371.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.03797, allocations: 4.172 kB / 371.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.038, allocations: 23.94 kB / 371.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.03801, allocations: 8 kB / 371.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.03833, allocations: 303.7 kB / 372 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.04468, allocations: 4.623 MB / 376.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.04502, allocations: 254.4 kB / 376.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.04516, allocations: 140.8 kB / 377 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004313/0.04947, allocations: 2.668 MB / 379.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.0495, allocations: 42.5 kB / 379.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.043e-06/0.0495, allocations: 0 / 379.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005808/0.05531, allocations: 2.32 MB / 382 MB, free: 6.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.05534, allocations: 55.41 kB / 382.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.05558, allocations: 316.3 kB / 382.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.0556, allocations: 29.7 kB / 382.4 MB, free: 5.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.05572, allocations: 232.5 kB / 382.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/0.0558, allocations: 170.5 kB / 382.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.05589, allocations: 98.28 kB / 382.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.05599, allocations: 342.8 kB / 383.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.05616, allocations: 157.2 kB / 383.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.05638, allocations: 280.7 kB / 383.7 MB, free: 4.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.0568, allocations: 473.3 kB / 384.1 MB, free: 3.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.0568, allocations: 4 kB / 384.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006504/0.05745, allocations: 0.5894 MB / 384.7 MB, free: 3.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.05747, allocations: 11.98 kB / 384.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.05748, allocations: 4 kB / 384.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.06106, allocations: 1.848 MB / 386.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.06127, allocations: 107.8 kB / 386.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.06256, allocations: 2.454 MB / 389.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.06271, allocations: 20 kB / 389.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.06273, allocations: 24.22 kB / 389.2 MB, free: 14.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.06288, allocations: 173.7 kB / 389.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.06294, allocations: 43.7 kB / 389.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007756/0.06371, allocations: 0.8691 MB / 390.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.06372, allocations: 4 kB / 390.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.06372, allocations: 0 / 390.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006741/0.0644, allocations: 0.975 MB / 391.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.06569, allocations: 1.428 MB / 392.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.06569, allocations: 0 / 392.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.06585, allocations: 83.83 kB / 392.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.06729, allocations: 0.618 MB / 393.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.06732, allocations: 16 kB / 393.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005743/0.06789, allocations: 1.304 MB / 394.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.06789, allocations: 0 / 394.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.06884, allocations: 1.243 MB / 395.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.06889, allocations: 43.69 kB / 396 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.06893, allocations: 19.94 kB / 396 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.06904, allocations: 12 kB / 396 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.06907, allocations: 36 kB / 396 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.06909, allocations: 19.98 kB / 396.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.06923, allocations: 207.1 kB / 396.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06923, allocations: 0 / 396.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004994/0.06973, allocations: 231.7 kB / 396.5 MB, free: 6.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.07122, allocations: 1.969 MB / 398.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007423/0.07196, allocations: 0.6804 MB / 399.1 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.07196, allocations: 4 kB / 399.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.07245, allocations: 428.2 kB / 399.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.07312, allocations: 243.4 kB / 399.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.07689, allocations: 4.408 MB / 404.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.07704, allocations: 233.1 kB / 404.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.07724, allocations: 72.33 kB / 404.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.07738, allocations: 160.4 kB / 404.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.07738, allocations: 3.938 kB / 404.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.1062, allocations: 18.59 MB / 423.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.714, allocations: 3.938 kB / 423.3 MB, free: 12.2 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.524409075267613]