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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000768/0.0007682, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008845/0.0008845, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001924, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.0765, allocations: 51.51 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1652/0.2418, allocations: 36.99 MB / 396.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.2469, allocations: 4.562 MB / 400.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.2473, allocations: 8.219 kB / 400.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.2481, allocations: 242.5 kB / 401.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009991/0.2491, allocations: 476.9 kB / 401.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.2532, allocations: 1.4 MB / 403 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.2551, allocations: 1.961 MB / 405 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.2554, allocations: 129.7 kB / 405.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.2562, allocations: 398.6 kB / 405.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007521/0.257, allocations: 411.2 kB / 405.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.2571, allocations: 24.56 kB / 405.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.2585, allocations: 0.7189 MB / 406.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2587, allocations: 112.9 kB / 406.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.2591, allocations: 278.4 kB / 407 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.2604, allocations: 1.011 MB / 408 MB, free: 8.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2605, allocations: 0 / 408 MB, free: 8.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2605, allocations: 1.625 kB / 408 MB, free: 8.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2605, allocations: 0 / 408 MB, free: 8.352 MB / 318.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.001108/0.2616, allocations: 0.6801 MB / 408.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2616, allocations: 14.25 kB / 408.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.2618, allocations: 75.69 kB / 408.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.2623, allocations: 81.41 kB / 408.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.2628, allocations: 332.6 kB / 409.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2628, allocations: 30.12 kB / 409.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.2628, allocations: 37.66 kB / 409.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.2635, allocations: 477.7 kB / 409.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2636, allocations: 1.812 kB / 409.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.2636, allocations: 21.16 kB / 409.7 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2636, allocations: 14.25 kB / 409.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2641, allocations: 306.5 kB / 410.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.276, allocations: 6.733 MB / 416.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.2765, allocations: 274.2 kB / 417.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2767, allocations: 150.7 kB / 417.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009593/0.2863, allocations: 3.885 MB / 421.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2863, allocations: 38.5 kB / 421.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.412e-06/0.2863, allocations: 0 / 421.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01112/0.2975, allocations: 2.495 MB / 423.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2975, allocations: 59.41 kB / 423.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.2978, allocations: 299.3 kB / 424 MB, free: 9.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.2979, allocations: 37.7 kB / 424 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.298, allocations: 220 kB / 424.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2981, allocations: 161.7 kB / 424.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.2982, allocations: 53.69 kB / 424.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2983, allocations: 342.8 kB / 424.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.2986, allocations: 153.1 kB / 424.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.2989, allocations: 275.7 kB / 425.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.2995, allocations: 476.3 kB / 425.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2995, allocations: 0 / 425.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001002/0.3005, allocations: 0.5959 MB / 426.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3005, allocations: 12 kB / 426.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3006, allocations: 4 kB / 426.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/0.3069, allocations: 0.7674 MB / 427 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3073, allocations: 111.8 kB / 427.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.309, allocations: 2.467 MB / 429.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3094, allocations: 35.95 kB / 429.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3094, allocations: 24 kB / 429.7 MB, free: 3.785 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.0002036/0.3096, allocations: 181.5 kB / 429.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.3097, allocations: 43.47 kB / 429.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3108, allocations: 0.8552 MB / 430.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3109, allocations: 11.98 kB / 430.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3109, allocations: 0 / 430.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009219/0.3118, allocations: 0.9534 MB / 431.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3136, allocations: 1.489 MB / 433.2 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3137, allocations: 0 / 433.2 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.314, allocations: 76 kB / 433.3 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.3173, allocations: 0.6411 MB / 433.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.3173, allocations: 15.98 kB / 433.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008389/0.3182, allocations: 1.277 MB / 435.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3182, allocations: 4.031 kB / 435.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3196, allocations: 1.227 MB / 436.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3197, allocations: 120.6 kB / 436.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.3198, allocations: 16 kB / 436.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.3201, allocations: 27.83 kB / 436.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3201, allocations: 27.97 kB / 436.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3202, allocations: 23.92 kB / 436.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3204, allocations: 209.9 kB / 436.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3204, allocations: 0 / 436.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007352/0.3211, allocations: 231.9 kB / 437.1 MB, free: 12.1 MB / 350.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.002186/0.3233, allocations: 1.93 MB / 439 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3244, allocations: 0.6913 MB / 439.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3244, allocations: 4 kB / 439.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.3253, allocations: 436.1 kB / 440.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3265, allocations: 232 kB / 440.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.3321, allocations: 4.805 MB / 445.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3325, allocations: 0.8401 MB / 446 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.3328, allocations: 68.34 kB / 446.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.333, allocations: 163.3 kB / 446.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.333, allocations: 0 / 446.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.3622, allocations: 16.41 MB / 462.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3624, allocations: 221 kB / 462.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.476, allocations: 4.062 kB / 462.9 MB, free: 2.18 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches