Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.92 kB / 365.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.0981, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2252/0.3233, allocations: 37.6 MB / 455.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.3279, allocations: 4.596 MB / 460 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.3283, allocations: 8.125 kB / 460 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.3291, allocations: 301.5 kB / 460.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.33, allocations: 483.2 kB / 460.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.3343, allocations: 1.654 MB / 462.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.336, allocations: 1.272 MB / 463.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.3363, allocations: 126.4 kB / 463.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008167/0.3371, allocations: 481.3 kB / 464.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.3377, allocations: 425.8 kB / 464.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.3378, allocations: 45.69 kB / 464.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3394, allocations: 0.7644 MB / 465.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3396, allocations: 142.2 kB / 465.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.34, allocations: 273.2 kB / 465.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.3417, allocations: 1.056 MB / 467 MB, free: 6.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3417, allocations: 1.188 kB / 467 MB, free: 6.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3417, allocations: 0 / 467 MB, free: 6.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.3417, allocations: 0 / 467 MB, free: 6.055 MB / 366.1 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.001217/0.343, allocations: 0.7926 MB / 467.8 MB, free: 5.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.343, allocations: 12.42 kB / 467.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.3431, allocations: 77.36 kB / 467.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/0.3437, allocations: 82.25 kB / 467.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.3442, allocations: 341.5 kB / 468.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3443, allocations: 31.55 kB / 468.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.3443, allocations: 41.53 kB / 468.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.345, allocations: 475.2 kB / 468.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.345, allocations: 1.938 kB / 468.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.3451, allocations: 18.91 kB / 468.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3451, allocations: 10.44 kB / 468.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.3455, allocations: 308 kB / 469.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.3579, allocations: 6.726 MB / 475.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.3584, allocations: 264.9 kB / 476.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3585, allocations: 139.6 kB / 476.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3688, allocations: 3.897 MB / 480.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.3688, allocations: 40.88 kB / 480.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.565e-06/0.3688, allocations: 0 / 480.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01192/0.3807, allocations: 2.455 MB / 482.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3808, allocations: 56.16 kB / 482.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.3811, allocations: 303.8 kB / 483 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.3812, allocations: 36.45 kB / 483 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3814, allocations: 227.8 kB / 483.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.3815, allocations: 170.4 kB / 483.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3816, allocations: 96.7 kB / 483.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3818, allocations: 343 kB / 483.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.382, allocations: 158 kB / 484 MB, free: 12.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.3824, allocations: 282.5 kB / 484.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.383, allocations: 469.2 kB / 484.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.383, allocations: 1.625 kB / 484.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001106/0.3841, allocations: 0.5907 MB / 485.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3842, allocations: 10.06 kB / 485.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3842, allocations: 3.688 kB / 485.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00765/0.3918, allocations: 1.849 MB / 487.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3923, allocations: 110 kB / 487.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.3945, allocations: 2.56 MB / 489.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.3949, allocations: 11.09 kB / 489.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.3949, allocations: 25.91 kB / 489.9 MB, free: 8.164 MB / 382.1 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.0002704/0.3952, allocations: 177 kB / 490.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3953, allocations: 41.48 kB / 490.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3965, allocations: 0.8481 MB / 491 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3965, allocations: 4.969 kB / 491 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3965, allocations: 7.688 kB / 491 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.3976, allocations: 0.9572 MB / 491.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3997, allocations: 1.49 MB / 493.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3997, allocations: 2.219 kB / 493.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.4, allocations: 77.48 kB / 493.5 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/0.4033, allocations: 0.6196 MB / 494.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.4034, allocations: 20.73 kB / 494.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.4044, allocations: 1.282 MB / 495.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4044, allocations: 0 / 495.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.406, allocations: 1.229 MB / 496.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4061, allocations: 114.5 kB / 496.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.4062, allocations: 10.55 kB / 496.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.4064, allocations: 19.61 kB / 496.8 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.4065, allocations: 25.88 kB / 496.8 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.4065, allocations: 20.45 kB / 496.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.4068, allocations: 208.9 kB / 497 MB, free: 3.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4068, allocations: 0 / 497 MB, free: 3.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008835/0.4076, allocations: 239.2 kB / 497.3 MB, free: 3.117 MB / 382.1 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.002492/0.4101, allocations: 1.94 MB / 499.2 MB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.4115, allocations: 0.6736 MB / 499.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4115, allocations: 0 / 499.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.4124, allocations: 416.2 kB / 0.4886 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4137, allocations: 240.3 kB / 0.4888 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.4205, allocations: 4.487 MB / 0.4932 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.421, allocations: 0.8361 MB / 0.494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.4213, allocations: 64.36 kB / 0.4941 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4216, allocations: 163.4 kB / 0.4942 GB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4216, allocations: 0 / 0.4942 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.4747, allocations: 17.49 MB / 0.5113 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.73, allocations: 2.812 kB / 0.5113 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.97049404401332]