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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00219/0.00219, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 75.81 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.251, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04123/0.2922, allocations: 37.98 MB / 469.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.2983, allocations: 4.623 MB / 473.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.2988, allocations: 11.94 kB / 473.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009444/0.2997, allocations: 294.1 kB / 474.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3007, allocations: 497.3 kB / 474.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.3053, allocations: 1.652 MB / 476.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.3072, allocations: 1.296 MB / 477.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.3075, allocations: 119 kB / 477.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008204/0.3083, allocations: 490.4 kB / 478.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.3089, allocations: 426.4 kB / 478.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.309, allocations: 48 kB / 478.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3107, allocations: 0.761 MB / 479.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3109, allocations: 147.4 kB / 479.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.3112, allocations: 275 kB / 479.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.3129, allocations: 1.052 MB / 480.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3129, allocations: 0 / 480.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3129, allocations: 3.938 kB / 480.8 MB, free: 4.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3129, allocations: 0 / 480.8 MB, free: 4.91 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001265/0.3141, allocations: 0.7191 MB / 481.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3142, allocations: 15.97 kB / 481.6 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.876e-05/0.3143, allocations: 74.72 kB / 481.6 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.3149, allocations: 80.62 kB / 481.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.3155, allocations: 277.8 kB / 482 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.3155, allocations: 29.38 kB / 482 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.3156, allocations: 40.38 kB / 482 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.3163, allocations: 475.4 kB / 482.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3163, allocations: 4 kB / 482.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.3164, allocations: 20 kB / 482.5 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.3164, allocations: 8 kB / 482.5 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.3169, allocations: 307.7 kB / 482.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.3306, allocations: 5.495 MB / 488.3 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3311, allocations: 266.4 kB / 488.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.3313, allocations: 139.6 kB / 488.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.3416, allocations: 2.664 MB / 491.4 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.3417, allocations: 39.16 kB / 491.4 MB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.816e-06/0.3417, allocations: 0 / 491.4 MB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01192/0.3536, allocations: 2.311 MB / 493.7 MB, free: 7.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3537, allocations: 63.34 kB / 493.8 MB, free: 7.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.354, allocations: 300.5 kB / 494.1 MB, free: 7.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.3541, allocations: 29.7 kB / 494.1 MB, free: 7.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3543, allocations: 236.5 kB / 494.4 MB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3544, allocations: 166.6 kB / 494.5 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3546, allocations: 98.28 kB / 494.6 MB, free: 6.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3547, allocations: 346.8 kB / 495 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.355, allocations: 157.2 kB / 495.1 MB, free: 6.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3554, allocations: 284.6 kB / 495.4 MB, free: 5.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.3561, allocations: 468.3 kB / 495.8 MB, free: 5.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3561, allocations: 4 kB / 495.9 MB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001174/0.3573, allocations: 0.596 MB / 496.4 MB, free: 4.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3573, allocations: 4 kB / 496.5 MB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3573, allocations: 4 kB / 496.5 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008067/0.3654, allocations: 1.851 MB / 498.3 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.3659, allocations: 107.8 kB / 498.4 MB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.3684, allocations: 2.458 MB / 0.4891 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.3687, allocations: 12 kB / 0.4891 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3688, allocations: 23.98 kB / 0.4892 GB, free: 52 kB / 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.0002867/0.369, allocations: 185.8 kB / 0.4893 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.3691, allocations: 39.77 kB / 0.4894 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3704, allocations: 0.8687 MB / 0.4902 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.3704, allocations: 11.98 kB / 0.4902 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3704, allocations: 0 / 0.4902 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.3715, allocations: 0.9747 MB / 0.4912 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.3737, allocations: 1.483 MB / 0.4926 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3737, allocations: 3.938 kB / 0.4926 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.374, allocations: 75.89 kB / 0.4927 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/0.3773, allocations: 0.6142 MB / 0.4933 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.3774, allocations: 27.86 kB / 0.4933 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3785, allocations: 1.292 MB / 0.4946 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3785, allocations: 8.047 kB / 0.4946 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3802, allocations: 1.254 MB / 0.4958 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3803, allocations: 43.69 kB / 0.4959 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.3804, allocations: 12 kB / 0.4959 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.3806, allocations: 11.94 kB / 0.4959 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3807, allocations: 31.95 kB / 0.4959 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.3807, allocations: 19.98 kB / 0.496 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3809, allocations: 211.1 kB / 0.4962 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3809, allocations: 0 / 0.4962 GB, free: 8.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007492/0.3817, allocations: 231.7 kB / 0.4964 GB, free: 8.43 MB / 414.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.002535/0.3842, allocations: 1.977 MB / 0.4983 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3855, allocations: 0.6759 MB / 0.499 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3855, allocations: 0 / 0.499 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009349/0.3864, allocations: 428.3 kB / 0.4994 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3877, allocations: 244.2 kB / 0.4996 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/0.3941, allocations: 4.497 MB / 0.504 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.3946, allocations: 0.8362 MB / 0.5048 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000306/0.3949, allocations: 68.34 kB / 0.5049 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.3951, allocations: 159.4 kB / 0.505 GB, free: 15.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3951, allocations: 0 / 0.505 GB, free: 15.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05472/0.4498, allocations: 18.04 MB / 0.5227 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/13.93, allocations: 2.656 kB / 0.5227 GB, free: 13.36 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.666254195002693]