Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09771, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2274/0.3251, allocations: 37.69 MB / 464 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006427/0.3316, allocations: 4.598 MB / 468.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.332, allocations: 9.812 kB / 468.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3331, allocations: 300.2 kB / 468.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3343, allocations: 490.4 kB / 469.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.3397, allocations: 1.64 MB / 471 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3416, allocations: 1.276 MB / 472.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.3419, allocations: 121.7 kB / 472.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008278/0.3427, allocations: 486.2 kB / 472.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.3433, allocations: 429.2 kB / 473.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.3434, allocations: 45.53 kB / 473.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.3451, allocations: 0.7625 MB / 474.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3453, allocations: 148.7 kB / 474.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.3456, allocations: 277.5 kB / 474.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.347, allocations: 1.05 MB / 475.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3471, allocations: 0 / 475.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3471, allocations: 1.219 kB / 475.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3471, allocations: 0 / 475.6 MB, free: 11.23 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.001223/0.3483, allocations: 0.7906 MB / 476.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3483, allocations: 13.62 kB / 476.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.3484, allocations: 77.34 kB / 476.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/0.349, allocations: 77.38 kB / 476.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3496, allocations: 341.9 kB / 476.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.3496, allocations: 29.28 kB / 476.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.3496, allocations: 39.36 kB / 477 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.3504, allocations: 474.6 kB / 477.4 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3504, allocations: 13.02 kB / 477.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.3505, allocations: 18 kB / 477.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3505, allocations: 9.875 kB / 477.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.351, allocations: 302.7 kB / 477.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.365, allocations: 6.753 MB / 484.5 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.3654, allocations: 254.1 kB / 484.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3656, allocations: 143 kB / 484.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.3762, allocations: 3.889 MB / 488.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.3762, allocations: 37.22 kB / 488.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.3763, allocations: 0 / 488.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01234/0.3886, allocations: 2.458 MB / 491.3 MB, free: 14.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3886, allocations: 55.41 kB / 491.3 MB, free: 14.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.389, allocations: 311.2 kB / 491.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.389, allocations: 33.7 kB / 491.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3892, allocations: 228.5 kB / 491.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3893, allocations: 162.6 kB / 492.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3895, allocations: 102.2 kB / 492.2 MB, free: 13.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3896, allocations: 346.8 kB / 492.5 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3899, allocations: 157.1 kB / 492.6 MB, free: 13.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3903, allocations: 275.7 kB / 492.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.3909, allocations: 476.2 kB / 493.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3909, allocations: 4 kB / 493.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001075/0.392, allocations: 0.5881 MB / 494 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.392, allocations: 7.938 kB / 494 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.392, allocations: 4 kB / 494 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007941/0.4, allocations: 1.852 MB / 495.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.4004, allocations: 107.9 kB / 495.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.4028, allocations: 2.564 MB / 498.5 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.4032, allocations: 16.88 kB / 498.5 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.4032, allocations: 23.98 kB / 498.5 MB, free: 7.254 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.0002618/0.4035, allocations: 173.7 kB / 498.7 MB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.4036, allocations: 43.83 kB / 498.8 MB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.4048, allocations: 0.8515 MB / 499.6 MB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4048, allocations: 7.984 kB / 499.6 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4048, allocations: 0 / 499.6 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.4059, allocations: 0.9611 MB / 0.4888 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.408, allocations: 1.493 MB / 0.4903 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4081, allocations: 0 / 0.4903 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.4084, allocations: 71.89 kB / 0.4904 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003324/0.4117, allocations: 0.6218 MB / 0.491 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.4117, allocations: 11.94 kB / 0.491 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.4128, allocations: 1.29 MB / 0.4922 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4128, allocations: 4.031 kB / 0.4923 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4145, allocations: 1.217 MB / 0.4934 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4146, allocations: 116.9 kB / 0.4936 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.4147, allocations: 12 kB / 0.4936 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.4149, allocations: 12 kB / 0.4936 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.415, allocations: 31.95 kB / 0.4936 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.415, allocations: 19.94 kB / 0.4936 GB, free: 64 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4153, allocations: 209.9 kB / 0.4938 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4153, allocations: 0 / 0.4938 GB, free: 15.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009186/0.4162, allocations: 235.7 kB / 0.494 GB, free: 15.63 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.002579/0.4188, allocations: 1.939 MB / 0.4959 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.4201, allocations: 0.664 MB / 0.4966 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4201, allocations: 0 / 0.4966 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.4211, allocations: 431.9 kB / 0.497 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4224, allocations: 240.5 kB / 0.4972 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.4287, allocations: 4.479 MB / 0.5016 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.4292, allocations: 0.8363 MB / 0.5024 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.4295, allocations: 72.33 kB / 0.5025 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4297, allocations: 155.4 kB / 0.5026 GB, free: 6.57 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4297, allocations: 0 / 0.5026 GB, free: 6.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/0.4787, allocations: 17.48 MB / 0.5197 GB, free: 5.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.11, allocations: 3.938 kB / 0.5197 GB, free: 5.262 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.628507194007398]