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.001066/0.001066, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.92 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07688/0.07807, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1708/0.2489, allocations: 37.52 MB / 395.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2542, allocations: 4.578 MB / 399.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.2545, allocations: 9.5 kB / 399.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.2553, allocations: 293.5 kB / 400 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.2561, allocations: 478.4 kB / 400.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2598, allocations: 1.647 MB / 402.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2611, allocations: 1.278 MB / 403.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.2613, allocations: 171.6 kB / 403.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.2619, allocations: 466 kB / 404 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.2623, allocations: 414.2 kB / 404.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.2624, allocations: 44.97 kB / 404.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2638, allocations: 0.75 MB / 405.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2639, allocations: 132.4 kB / 405.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.2642, allocations: 282 kB / 405.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2653, allocations: 1.042 MB / 406.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2653, allocations: 0 / 406.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2654, allocations: 5.219 kB / 406.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2654, allocations: 0 / 406.6 MB, free: 7.82 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.0009715/0.2663, allocations: 0.7729 MB / 407.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2664, allocations: 9.625 kB / 407.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/0.2665, allocations: 87.02 kB / 407.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005268/0.267, allocations: 79.09 kB / 407.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2674, allocations: 331.9 kB / 407.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2674, allocations: 29.47 kB / 407.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.2675, allocations: 42.28 kB / 408 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2681, allocations: 473.6 kB / 408.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2682, allocations: 4.938 kB / 408.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.2682, allocations: 17.66 kB / 408.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2682, allocations: 9.531 kB / 408.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.2687, allocations: 307.3 kB / 408.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.2814, allocations: 6.743 MB / 415.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.2819, allocations: 277.4 kB / 415.8 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.2821, allocations: 152.6 kB / 415.9 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.2925, allocations: 3.888 MB / 419.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2925, allocations: 42.55 kB / 419.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 3.456e-06/0.2925, allocations: 0 / 419.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.0118/0.3043, allocations: 2.457 MB / 422.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3044, allocations: 55.41 kB / 422.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3048, allocations: 307.2 kB / 422.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3048, allocations: 29.7 kB / 422.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.305, allocations: 224 kB / 422.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3051, allocations: 165.7 kB / 423.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3052, allocations: 98.16 kB / 423.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3054, allocations: 346.8 kB / 423.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.3056, allocations: 157.1 kB / 423.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.306, allocations: 275.7 kB / 423.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.3066, allocations: 472.3 kB / 424.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3066, allocations: 8 kB / 424.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001016/0.3076, allocations: 0.5881 MB / 425 MB, free: 7.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3077, allocations: 14.94 kB / 425 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3077, allocations: 4 kB / 425 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007956/0.3156, allocations: 1.848 MB / 426.9 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3161, allocations: 115.8 kB / 427 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3179, allocations: 2.564 MB / 429.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.3182, allocations: 12 kB / 429.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3183, allocations: 23.98 kB / 429.6 MB, free: 2.32 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.0001893/0.3185, allocations: 181.8 kB / 429.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.3186, allocations: 35.62 kB / 429.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3197, allocations: 0.859 MB / 430.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3197, allocations: 11.98 kB / 430.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.3197, allocations: 0 / 430.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009173/0.3206, allocations: 0.9573 MB / 431.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3224, allocations: 1.489 MB / 433.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3225, allocations: 0 / 433.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.3228, allocations: 79.89 kB / 433.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.326, allocations: 0.6177 MB / 433.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.3261, allocations: 23.92 kB / 433.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008462/0.3269, allocations: 1.28 MB / 435.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.327, allocations: 0 / 435.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3284, allocations: 1.219 MB / 436.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3285, allocations: 112.7 kB / 436.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.3285, allocations: 15.94 kB / 436.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3288, allocations: 23.98 kB / 436.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3288, allocations: 28 kB / 436.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.3289, allocations: 19.98 kB / 436.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3291, allocations: 217.9 kB / 436.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 436.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007325/0.3298, allocations: 231.9 kB / 437 MB, free: 10.66 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.002123/0.332, allocations: 1.928 MB / 438.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.3332, allocations: 0.7108 MB / 439.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3332, allocations: 4 kB / 439.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.3341, allocations: 444 kB / 440 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.3353, allocations: 241.2 kB / 440.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.3408, allocations: 4.524 MB / 444.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3412, allocations: 0.8324 MB / 445.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.3415, allocations: 72.28 kB / 445.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3417, allocations: 155.4 kB / 445.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3417, allocations: 0 / 445.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.381, allocations: 17.17 MB / 463 MB, free: 460 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.88, allocations: 3.938 kB / 463 MB, free: 456 kB / 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