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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 110.7 kB / 16.63 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 189.5 kB / 17.55 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.23 kB / 300.2 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07747, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1644/0.2419, allocations: 37.28 MB / 387 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.2459, allocations: 4.562 MB / 391.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.2461, allocations: 4.594 kB / 391.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.2467, allocations: 260.4 kB / 391.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.2474, allocations: 453.1 kB / 392.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.2507, allocations: 1.461 MB / 393.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2518, allocations: 1.275 MB / 395 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.252, allocations: 168.6 kB / 395.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.2524, allocations: 468.4 kB / 395.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.2528, allocations: 427.4 kB / 396 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.2529, allocations: 46.72 kB / 396 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.254, allocations: 0.7691 MB / 396.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2541, allocations: 136.4 kB / 396.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.2543, allocations: 278.6 kB / 397.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.2552, allocations: 1.042 MB / 398.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2553, allocations: 4 kB / 398.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2553, allocations: 1.188 kB / 398.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2553, allocations: 3.938 kB / 398.3 MB, free: 0.8867 MB / 302.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.0008392/0.2561, allocations: 0.7768 MB / 399.1 MB, free: 240 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2562, allocations: 13.77 kB / 399.1 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.2562, allocations: 75.62 kB / 399.1 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.2568, allocations: 82.59 kB / 399.2 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2571, allocations: 331.7 kB / 399.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2572, allocations: 33.53 kB / 399.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.2572, allocations: 38.25 kB / 399.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.2578, allocations: 474.5 kB / 400.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2579, allocations: 2.469 kB / 400.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.2579, allocations: 17.53 kB / 400.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2579, allocations: 10.81 kB / 400.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.2583, allocations: 305.2 kB / 400.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.2707, allocations: 6.731 MB / 407.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.2711, allocations: 281.6 kB / 407.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2713, allocations: 154.5 kB / 407.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009767/0.2811, allocations: 3.893 MB / 411.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2811, allocations: 34.56 kB / 411.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.2811, allocations: 2.219 kB / 411.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01152/0.2926, allocations: 2.461 MB / 413.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2927, allocations: 55.41 kB / 414 MB, free: 4.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.2929, allocations: 303.2 kB / 414.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.293, allocations: 41.7 kB / 414.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2931, allocations: 220 kB / 414.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2932, allocations: 161.7 kB / 414.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2934, allocations: 98.16 kB / 414.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2935, allocations: 346.8 kB / 415.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.2937, allocations: 149.1 kB / 415.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.294, allocations: 279.7 kB / 415.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.2946, allocations: 472.3 kB / 416 MB, free: 1.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2946, allocations: 0 / 416 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009764/0.2956, allocations: 0.5955 MB / 416.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2956, allocations: 11.94 kB / 416.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.2956, allocations: 4 kB / 416.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007997/0.3036, allocations: 1.843 MB / 418.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.304, allocations: 115.8 kB / 418.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.3058, allocations: 2.566 MB / 421.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.3062, allocations: 27.98 kB / 421.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.3063, allocations: 28.06 kB / 421.2 MB, free: 12.6 MB / 334.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.0002065/0.3065, allocations: 181.6 kB / 421.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.3066, allocations: 39.53 kB / 421.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.3077, allocations: 0.8552 MB / 422.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3077, allocations: 4 kB / 422.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3077, allocations: 7.922 kB / 422.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009071/0.3086, allocations: 0.9574 MB / 423.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3105, allocations: 1.488 MB / 424.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3105, allocations: 3.938 kB / 424.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.3108, allocations: 79.89 kB / 424.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/0.3141, allocations: 0.6179 MB / 425.4 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.3142, allocations: 15.94 kB / 425.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008334/0.315, allocations: 1.28 MB / 426.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.315, allocations: 192 / 426.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3164, allocations: 1.23 MB / 428 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3165, allocations: 124.5 kB / 428.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.3166, allocations: 12 kB / 428.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.3169, allocations: 23.86 kB / 428.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3169, allocations: 31.95 kB / 428.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.317, allocations: 20 kB / 428.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3172, allocations: 209.9 kB / 428.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3172, allocations: 0 / 428.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007465/0.3179, allocations: 231.9 kB / 428.6 MB, free: 4.934 MB / 334.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.002135/0.3201, allocations: 1.932 MB / 430.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3214, allocations: 0.7143 MB / 431.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3214, allocations: 3.938 kB / 431.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008697/0.3223, allocations: 440 kB / 431.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3234, allocations: 241 kB / 431.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.329, allocations: 4.707 MB / 436.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3293, allocations: 0.8401 MB / 437.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.3296, allocations: 72.33 kB / 437.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3298, allocations: 159.4 kB / 437.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3298, allocations: 0 / 437.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.256/0.5858, allocations: 17.04 MB / 454.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.5861, allocations: 226.1 kB / 455 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.36, allocations: 3.625 kB / 455 MB, free: 10.49 MB / 366.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches