Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001218/0.001218, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001575/0.001575, 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.8702/0.8702, allocations: 177 MB / 204.1 MB, free: 5.719 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.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.406e-05, allocations: 3.266 kB / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02408/0.02411, allocations: 33.84 MB / 358.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.02835, allocations: 4.167 MB / 362.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.0287, allocations: 7.938 kB / 362.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.02942, allocations: 286.1 kB / 362.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.03014, allocations: 0.5046 MB / 363.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.0337, allocations: 1.665 MB / 365 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.03514, allocations: 1.287 MB / 366.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.03538, allocations: 115 kB / 366.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.03603, allocations: 0.6429 MB / 367 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.0364, allocations: 370.8 kB / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.03646, allocations: 44 kB / 367.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.03762, allocations: 0.7335 MB / 368.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.03775, allocations: 147.5 kB / 368.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.03791, allocations: 215.6 kB / 368.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.03912, allocations: 1.161 MB / 369.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.03913, allocations: 0 / 369.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.03913, allocations: 0 / 369.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.03914, allocations: 4 kB / 369.7 MB, free: 2.516 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.0009089/0.04005, allocations: 0.7074 MB / 370.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.0401, allocations: 11.98 kB / 370.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.04017, allocations: 78.72 kB / 370.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.04051, allocations: 84.62 kB / 370.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.04094, allocations: 277 kB / 370.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.04096, allocations: 29.38 kB / 370.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.041, allocations: 44.36 kB / 370.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.04155, allocations: 0.658 MB / 371.6 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.04156, allocations: 4.125 kB / 371.6 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.0416, allocations: 27.92 kB / 371.6 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.0416, allocations: 12 kB / 371.6 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.04193, allocations: 303.7 kB / 371.9 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/0.04859, allocations: 4.619 MB / 376.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.04894, allocations: 254.4 kB / 376.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.04908, allocations: 140.8 kB / 376.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00449/0.05357, allocations: 2.68 MB / 379.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.05361, allocations: 42.48 kB / 379.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.05361, allocations: 0 / 379.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.006542/0.06016, allocations: 2.316 MB / 382 MB, free: 5.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.06019, allocations: 55.41 kB / 382 MB, free: 5.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.06045, allocations: 316.3 kB / 382.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.06047, allocations: 33.7 kB / 382.4 MB, free: 5.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.06058, allocations: 228.5 kB / 382.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.06067, allocations: 170.5 kB / 382.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.06076, allocations: 94.3 kB / 382.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.06086, allocations: 346.8 kB / 383.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.06104, allocations: 153.2 kB / 383.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.06127, allocations: 276.7 kB / 383.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.0617, allocations: 473.2 kB / 384.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0617, allocations: 4 kB / 384.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006945/0.06239, allocations: 0.5894 MB / 384.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.06241, allocations: 4.469 kB / 384.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.06242, allocations: 8 kB / 384.7 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/0.0662, allocations: 1.851 MB / 386.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.06644, allocations: 107.9 kB / 386.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.06806, allocations: 2.454 MB / 389.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.06826, allocations: 19.98 kB / 389.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.06828, allocations: 24 kB / 389.1 MB, free: 14.46 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.0001866/0.06847, allocations: 173.7 kB / 389.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.06852, allocations: 43.7 kB / 389.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/0.06935, allocations: 0.8692 MB / 390.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.06936, allocations: 11.98 kB / 390.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.06936, allocations: 0 / 390.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006701/0.07003, allocations: 0.975 MB / 391.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.07138, allocations: 1.421 MB / 392.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.07138, allocations: 0 / 392.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.07155, allocations: 83.83 kB / 392.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.07311, allocations: 0.6141 MB / 393.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.07315, allocations: 20.08 kB / 393.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006746/0.07383, allocations: 1.296 MB / 394.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.07383, allocations: 12.09 kB / 394.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.0752, allocations: 1.247 MB / 395.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.07528, allocations: 39.66 kB / 395.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.07532, allocations: 16.03 kB / 395.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.07544, allocations: 8 kB / 395.9 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.07548, allocations: 31.89 kB / 396 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.07551, allocations: 19.98 kB / 396 MB, free: 7.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.07568, allocations: 211.1 kB / 396.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.07568, allocations: 0 / 396.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.07627, allocations: 231.7 kB / 396.4 MB, free: 6.906 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.001709/0.07798, allocations: 1.981 MB / 398.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008497/0.07883, allocations: 0.6765 MB / 399.1 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.07883, allocations: 0 / 399.1 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.07938, allocations: 424.4 kB / 399.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.08014, allocations: 254.3 kB / 399.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.08455, allocations: 4.398 MB / 404.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.08471, allocations: 241.1 kB / 404.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.08496, allocations: 72.33 kB / 404.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.08511, allocations: 156.5 kB / 404.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.08511, allocations: 0 / 404.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.1198, allocations: 18.59 MB / 423.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.061, allocations: 3.938 kB / 423.2 MB, free: 12.06 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.942142384126782]