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.001803/0.001803, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00216/0.00216, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.511/1.511, allocations: 230.5 MB / 254 MB, free: 15.02 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.002072/0.002072, allocations: 67.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09613, allocations: 53.37 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2227/0.3189, allocations: 37.71 MB / 464.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006361/0.3252, allocations: 4.593 MB / 468.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.3258, allocations: 21.31 kB / 468.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009642/0.3267, allocations: 293.9 kB / 469 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.328, allocations: 497.6 kB / 469.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005051/0.333, allocations: 1.629 MB / 471.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3349, allocations: 1.276 MB / 472.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.3351, allocations: 120.7 kB / 472.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3361, allocations: 490.8 kB / 473 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.3368, allocations: 425.6 kB / 473.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.3369, allocations: 48.31 kB / 473.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.3386, allocations: 0.7647 MB / 474.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3388, allocations: 141.9 kB / 474.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3391, allocations: 276.3 kB / 474.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3407, allocations: 1.05 MB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3408, allocations: 1.156 kB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3408, allocations: 4 kB / 475.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3408, allocations: 0 / 475.6 MB, free: 11.03 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.001355/0.3421, allocations: 0.7912 MB / 476.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3422, allocations: 9.719 kB / 476.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3423, allocations: 76.41 kB / 476.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.3429, allocations: 78.41 kB / 476.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.3434, allocations: 343.9 kB / 476.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.3435, allocations: 37.53 kB / 477 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.3435, allocations: 40.12 kB / 477 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.3443, allocations: 475.7 kB / 477.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3443, allocations: 1.188 kB / 477.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.3443, allocations: 18.09 kB / 477.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3444, allocations: 9.594 kB / 477.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.3449, allocations: 310 kB / 477.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.3596, allocations: 6.752 MB / 484.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.3602, allocations: 255.9 kB / 484.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3604, allocations: 138.6 kB / 484.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.3714, allocations: 3.884 MB / 488.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.3715, allocations: 40.03 kB / 488.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.527e-06/0.3715, allocations: 0.5625 kB / 488.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01234/0.3838, allocations: 2.459 MB / 491.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3839, allocations: 63.41 kB / 491.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.3842, allocations: 303.2 kB / 491.7 MB, free: 14.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.3843, allocations: 41.64 kB / 491.7 MB, free: 14.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3845, allocations: 224.5 kB / 491.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3846, allocations: 166.6 kB / 492.1 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3848, allocations: 98.19 kB / 492.2 MB, free: 13.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3849, allocations: 342.8 kB / 492.5 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3852, allocations: 153.1 kB / 492.7 MB, free: 13.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.3856, allocations: 283.7 kB / 493 MB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.3863, allocations: 476.2 kB / 493.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3863, allocations: 0 / 493.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001132/0.3874, allocations: 0.5841 MB / 494 MB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3875, allocations: 12.39 kB / 494 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3875, allocations: 8 kB / 494 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008147/0.3956, allocations: 1.851 MB / 495.9 MB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.3961, allocations: 107.8 kB / 496 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.3984, allocations: 2.561 MB / 498.6 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.3987, allocations: 15.98 kB / 498.6 MB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.3988, allocations: 20.88 kB / 498.6 MB, free: 7.023 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.000248/0.399, allocations: 177.7 kB / 498.8 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.3991, allocations: 39.77 kB / 498.8 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.4004, allocations: 0.8503 MB / 499.6 MB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4004, allocations: 16.05 kB / 499.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4004, allocations: 0 / 499.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.4016, allocations: 0.9573 MB / 0.4889 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.4037, allocations: 1.49 MB / 0.4903 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4037, allocations: 7.984 kB / 0.4904 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.4041, allocations: 75.94 kB / 0.4904 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/0.4076, allocations: 0.6101 MB / 0.491 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.4076, allocations: 15.94 kB / 0.491 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4087, allocations: 1.284 MB / 0.4923 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4087, allocations: 0 / 0.4923 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4104, allocations: 1.224 MB / 0.4935 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4106, allocations: 120.9 kB / 0.4936 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.4107, allocations: 8 kB / 0.4936 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.4109, allocations: 15.88 kB / 0.4936 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.411, allocations: 31.95 kB / 0.4937 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.411, allocations: 19.98 kB / 0.4937 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.4112, allocations: 206 kB / 0.4939 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4112, allocations: 4 kB / 0.4939 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008352/0.4121, allocations: 235.7 kB / 0.4941 GB, free: 15.39 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.002541/0.4146, allocations: 1.939 MB / 0.496 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4159, allocations: 0.6682 MB / 0.4966 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4159, allocations: 0 / 0.4966 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.4169, allocations: 431.9 kB / 0.4971 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4182, allocations: 239.8 kB / 0.4973 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.4246, allocations: 4.477 MB / 0.5017 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.425, allocations: 0.8363 MB / 0.5025 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.4253, allocations: 72.33 kB / 0.5025 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4256, allocations: 155.4 kB / 0.5027 GB, free: 6.328 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4256, allocations: 4 kB / 0.5027 GB, free: 6.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05128/0.4768, allocations: 17.45 MB / 0.5197 GB, free: 4.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.8, allocations: 15.47 kB / 0.5198 GB, free: 4.957 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.39053692109883]