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.001253/0.001253, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 71.88 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2245, allocations: 50.55 MB / 408.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03701/0.2615, allocations: 37.52 MB / 446.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.267, allocations: 4.576 MB / 450.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.2673, allocations: 7.938 kB / 450.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.268, allocations: 294.2 kB / 451.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.2689, allocations: 489.3 kB / 451.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.2729, allocations: 1.646 MB / 453.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.2743, allocations: 1.269 MB / 454.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2746, allocations: 162.7 kB / 454.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.2751, allocations: 470.5 kB / 455.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.2757, allocations: 406.4 kB / 455.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.2757, allocations: 44 kB / 455.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.2772, allocations: 0.761 MB / 456.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.2773, allocations: 127.6 kB / 456.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.2776, allocations: 286.8 kB / 456.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2789, allocations: 1.044 MB / 457.9 MB, free: 192 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.279, allocations: 4 kB / 457.9 MB, free: 188 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.279, allocations: 0 / 457.9 MB, free: 188 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.279, allocations: 4 kB / 457.9 MB, free: 184 kB / 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.001088/0.2801, allocations: 0.7907 MB / 458.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2801, allocations: 8.031 kB / 458.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.2802, allocations: 78.7 kB / 458.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.2808, allocations: 84.62 kB / 458.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.2813, allocations: 339.6 kB / 459.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2813, allocations: 33.38 kB / 459.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.2814, allocations: 44.31 kB / 459.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.282, allocations: 467.5 kB / 459.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.2821, allocations: 7.938 kB / 459.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2821, allocations: 16 kB / 459.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2821, allocations: 8 kB / 459.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.2826, allocations: 307.7 kB / 460.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.2958, allocations: 6.746 MB / 466.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.2963, allocations: 278.5 kB / 467.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.2965, allocations: 147.6 kB / 467.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.3069, allocations: 3.9 MB / 471.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3069, allocations: 38.5 kB / 471.2 MB, free: 1.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.3069, allocations: 0 / 471.2 MB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01135/0.3183, allocations: 2.469 MB / 473.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3184, allocations: 55.41 kB / 473.7 MB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.3187, allocations: 303.2 kB / 474 MB, free: 14.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3188, allocations: 37.7 kB / 474 MB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3189, allocations: 224.5 kB / 474.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.319, allocations: 166.6 kB / 474.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3192, allocations: 98.2 kB / 474.5 MB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3194, allocations: 346.8 kB / 474.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3196, allocations: 153.1 kB / 475 MB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.32, allocations: 279.7 kB / 475.2 MB, free: 13.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.3207, allocations: 472.2 kB / 475.7 MB, free: 13.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3207, allocations: 0 / 475.7 MB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.3217, allocations: 0.596 MB / 476.3 MB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3218, allocations: 14.91 kB / 476.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3218, allocations: 4 kB / 476.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007554/0.3293, allocations: 1.84 MB / 478.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3297, allocations: 115.8 kB / 478.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.3321, allocations: 2.564 MB / 480.8 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.3324, allocations: 16 kB / 480.9 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3325, allocations: 20 kB / 480.9 MB, free: 7.73 MB / 398.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.0002605/0.3327, allocations: 181.2 kB / 481.1 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.3328, allocations: 43.7 kB / 481.1 MB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3341, allocations: 0.8554 MB / 482 MB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3341, allocations: 4 kB / 482 MB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3341, allocations: 0 / 482 MB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.3352, allocations: 0.965 MB / 482.9 MB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.3373, allocations: 1.482 MB / 484.4 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3373, allocations: 12.02 kB / 484.4 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3376, allocations: 79.89 kB / 484.5 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.3409, allocations: 0.6179 MB / 485.1 MB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3409, allocations: 19.92 kB / 485.1 MB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.342, allocations: 1.273 MB / 486.4 MB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.342, allocations: 3.938 kB / 486.4 MB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3436, allocations: 1.225 MB / 487.6 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3437, allocations: 116.8 kB / 487.7 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.3438, allocations: 8 kB / 487.8 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.344, allocations: 15.97 kB / 487.8 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3441, allocations: 27.97 kB / 487.8 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.3441, allocations: 19.98 kB / 487.8 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.3443, allocations: 213.9 kB / 488 MB, free: 328 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3443, allocations: 3.938 kB / 488 MB, free: 324 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007297/0.3451, allocations: 235.7 kB / 488.3 MB, free: 88 kB / 398.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.002345/0.3474, allocations: 1.943 MB / 490.2 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3487, allocations: 0.6951 MB / 490.9 MB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3487, allocations: 0 / 490.9 MB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.3496, allocations: 448 kB / 491.3 MB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.3508, allocations: 240.7 kB / 491.6 MB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.3567, allocations: 4.477 MB / 496 MB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3572, allocations: 0.8363 MB / 496.9 MB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.3574, allocations: 72.34 kB / 497 MB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.3577, allocations: 159.4 kB / 497.1 MB, free: 6.969 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3577, allocations: 0 / 497.1 MB, free: 6.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.404, allocations: 17.36 MB / 0.5024 GB, free: 5.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.39, allocations: 7.812 kB / 0.5024 GB, free: 5.738 MB / 430.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.1.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