Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008253, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8725/0.8725, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.701e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02556/0.02558, allocations: 24.45 MB / 349 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.02843, allocations: 3.762 MB / 352.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.02855, allocations: 11.88 kB / 352.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.02901, allocations: 194.7 kB / 352.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.02943, allocations: 361.7 kB / 353.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.03186, allocations: 1.492 MB / 354.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.03251, allocations: 0.8982 MB / 355.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.03265, allocations: 72.88 kB / 355.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.03612, allocations: 4.275 MB / 360 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.03634, allocations: 259.2 kB / 360.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.03638, allocations: 32 kB / 360.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007416/0.03712, allocations: 0.6945 MB / 361 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.0372, allocations: 103.6 kB / 361.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.0373, allocations: 147.7 kB / 361.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007245/0.03802, allocations: 0.9624 MB / 362.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03803, allocations: 0 / 362.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03803, allocations: 0 / 362.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.03803, allocations: 0 / 362.2 MB, free: 10.05 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007441/0.03878, allocations: 0.5829 MB / 362.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.03881, allocations: 11.98 kB / 362.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.03886, allocations: 66.72 kB / 362.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.0391, allocations: 52.73 kB / 362.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.03942, allocations: 229.2 kB / 363.2 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.03943, allocations: 32.91 kB / 363.2 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.03947, allocations: 24.38 kB / 363.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.03983, allocations: 494.4 kB / 363.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.03984, allocations: 4.188 kB / 363.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.03986, allocations: 15.94 kB / 363.7 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.03987, allocations: 8 kB / 363.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.04009, allocations: 209.8 kB / 363.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.04573, allocations: 4.125 MB / 368 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.04594, allocations: 174.6 kB / 368.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.04603, allocations: 80.83 kB / 368.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004546/0.05058, allocations: 2.68 MB / 371 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.0506, allocations: 34.56 kB / 371 MB, free: 1.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.05061, allocations: 4 kB / 371 MB, free: 1.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.00317/0.05378, allocations: 1.267 MB / 372.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.05381, allocations: 55.41 kB / 372.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.05399, allocations: 265.8 kB / 372.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.05402, allocations: 33.7 kB / 372.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.05411, allocations: 196.4 kB / 372.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.05415, allocations: 95.17 kB / 372.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.05422, allocations: 65.7 kB / 373 MB, free: 14.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.0543, allocations: 330.8 kB / 373.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.05441, allocations: 99.89 kB / 373.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.05455, allocations: 182.9 kB / 373.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.05481, allocations: 307 kB / 373.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.05482, allocations: 4 kB / 373.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004262/0.05524, allocations: 394.8 kB / 374.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.05526, allocations: 4 kB / 374.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.05526, allocations: 4 kB / 374.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.05717, allocations: 0.9424 MB / 375.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.05733, allocations: 71.84 kB / 375.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.05842, allocations: 1.866 MB / 377.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.05851, allocations: 8.219 kB / 377.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.05852, allocations: 20 kB / 377.2 MB, free: 10.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.05863, allocations: 149.8 kB / 377.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.05867, allocations: 27.8 kB / 377.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.05912, allocations: 0.4948 MB / 377.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.05913, allocations: 7.984 kB / 377.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.05913, allocations: 0 / 377.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005066/0.05964, allocations: 0.7238 MB / 378.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007894/0.06043, allocations: 0.8905 MB / 379.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.06043, allocations: 0 / 379.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.06053, allocations: 47.91 kB / 379.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007671/0.0613, allocations: 324.4 kB / 379.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.06131, allocations: 11.98 kB / 379.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002917/0.06161, allocations: 0.6499 MB / 380.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.06161, allocations: 0 / 380.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.06217, allocations: 0.7295 MB / 381.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.0622, allocations: 23.84 kB / 381.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.06223, allocations: 15.92 kB / 381.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.06232, allocations: 4 kB / 381.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.06234, allocations: 15.97 kB / 381.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.06236, allocations: 15.94 kB / 381.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.06247, allocations: 185.2 kB / 381.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06247, allocations: 0 / 381.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.06286, allocations: 195.8 kB / 381.7 MB, free: 5.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.06393, allocations: 1.459 MB / 383.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.06443, allocations: 446.8 kB / 383.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.06443, allocations: 4 kB / 383.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.06487, allocations: 220.3 kB / 383.8 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.06541, allocations: 164.2 kB / 383.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.06807, allocations: 3.271 MB / 387.2 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.06819, allocations: 172.3 kB / 387.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.06831, allocations: 46.95 kB / 387.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.06841, allocations: 104.5 kB / 387.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.06841, allocations: 0 / 387.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.09322, allocations: 14.55 MB / 402.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.071, allocations: 19.06 kB / 402.1 MB, free: 1.336 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.260767692700028]