Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001398/0.001398, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001498/0.001498, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 52.06 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2472, allocations: 53.37 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03419/0.2814, allocations: 27.42 MB / 458.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005641/0.2871, allocations: 4.21 MB / 462.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.2875, allocations: 11.88 kB / 462.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.2882, allocations: 206.7 kB / 463 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009484/0.2892, allocations: 338.2 kB / 463.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.2939, allocations: 1.48 MB / 464.8 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2952, allocations: 0.9028 MB / 465.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2954, allocations: 78.58 kB / 465.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.3027, allocations: 4.135 MB / 469.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.3032, allocations: 290.8 kB / 470.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.3033, allocations: 32 kB / 470.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.3049, allocations: 0.7337 MB / 471 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3051, allocations: 99.7 kB / 471.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.3054, allocations: 191.2 kB / 471.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.307, allocations: 0.8531 MB / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.307, allocations: 0 / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.307, allocations: 0 / 472.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.307, allocations: 0 / 472.1 MB, free: 13.79 MB / 382.1 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.00115/0.3081, allocations: 0.5867 MB / 472.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3082, allocations: 16.03 kB / 472.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.133e-05/0.3083, allocations: 58.73 kB / 472.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.3087, allocations: 60.72 kB / 472.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.3092, allocations: 230 kB / 473 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3092, allocations: 21.03 kB / 473.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.3093, allocations: 24.38 kB / 473.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3098, allocations: 343.5 kB / 473.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3098, allocations: 0 / 473.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.3099, allocations: 12 kB / 473.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3099, allocations: 12 kB / 473.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.3103, allocations: 217.7 kB / 473.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.3233, allocations: 4.66 MB / 478.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.3236, allocations: 166.7 kB / 478.5 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3238, allocations: 88.77 kB / 478.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.334, allocations: 2.68 MB / 481.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.334, allocations: 34.55 kB / 481.3 MB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.334, allocations: 0 / 481.3 MB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006353/0.3404, allocations: 1.269 MB / 482.6 MB, free: 2.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3404, allocations: 55.41 kB / 482.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.3408, allocations: 257.9 kB / 482.9 MB, free: 2.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3408, allocations: 29.7 kB / 482.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.341, allocations: 196.4 kB / 483.1 MB, free: 2.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.3411, allocations: 107.1 kB / 483.2 MB, free: 2.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3412, allocations: 69.66 kB / 483.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3414, allocations: 330.8 kB / 483.6 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3415, allocations: 95.95 kB / 483.7 MB, free: 1.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3418, allocations: 186.9 kB / 483.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3422, allocations: 299.7 kB / 484.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3422, allocations: 4 kB / 484.2 MB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007317/0.343, allocations: 390.8 kB / 484.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.343, allocations: 8 kB / 484.5 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.343, allocations: 8.359 kB / 484.5 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/0.3471, allocations: 0.9287 MB / 485.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.3474, allocations: 79.84 kB / 485.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.3493, allocations: 1.867 MB / 487.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3495, allocations: 8.031 kB / 487.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.3496, allocations: 19.98 kB / 487.5 MB, free: 13.8 MB / 398.1 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.0001997/0.3498, allocations: 157.8 kB / 487.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.3498, allocations: 27.81 kB / 487.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007772/0.3506, allocations: 0.4954 MB / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3506, allocations: 8 kB / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3506, allocations: 0 / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007612/0.3514, allocations: 0.7238 MB / 488.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.3528, allocations: 0.9294 MB / 489.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3528, allocations: 0 / 489.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.353, allocations: 39.98 kB / 489.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.3548, allocations: 324.4 kB / 490.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3548, allocations: 8 kB / 490.2 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006051/0.3554, allocations: 0.6539 MB / 490.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3554, allocations: 0 / 490.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3564, allocations: 0.7407 MB / 491.5 MB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.3565, allocations: 31.77 kB / 491.6 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.3565, allocations: 8 kB / 491.6 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3567, allocations: 4 kB / 491.6 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3567, allocations: 19.97 kB / 491.6 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3568, allocations: 15.92 kB / 491.6 MB, free: 9.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.357, allocations: 181.2 kB / 491.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.357, allocations: 0 / 491.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006919/0.3577, allocations: 187.7 kB / 492 MB, free: 9.039 MB / 398.1 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.001885/0.3596, allocations: 1.441 MB / 493.4 MB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.3604, allocations: 454 kB / 493.9 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3604, allocations: 0 / 493.9 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.361, allocations: 236.6 kB / 494.1 MB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.3619, allocations: 166 kB / 494.3 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.3666, allocations: 3.336 MB / 497.6 MB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3671, allocations: 0.7799 MB / 498.4 MB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3673, allocations: 46.95 kB / 498.4 MB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3675, allocations: 103.4 kB / 498.5 MB, free: 2.262 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3675, allocations: 0 / 498.5 MB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.4183, allocations: 13.85 MB / 0.5004 GB, free: 4.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.34, allocations: 6.156 kB / 0.5004 GB, free: 4.59 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 16.91281719203107]