Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0008443/0.0008443, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001565/0.001565, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.87/0.87, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1317/0.1317, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.689e-05, allocations: 5.516 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2741/0.2742, allocations: 155.6 MB / 0.5493 GB, free: 12.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.2806, allocations: 7.515 MB / 0.5566 GB, free: 4.672 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.2809, allocations: 27.75 kB / 0.5567 GB, free: 4.645 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.2815, allocations: 311.8 kB / 0.557 GB, free: 4.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.2839, allocations: 1.552 MB / 0.5585 GB, free: 2.781 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2856, allocations: 1.214 MB / 0.5597 GB, free: 1.566 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.2868, allocations: 1.882 MB / 0.5615 GB, free: 15.68 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.2872, allocations: 394 kB / 0.5619 GB, free: 15.29 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.2889, allocations: 1.504 MB / 0.5633 GB, free: 13.78 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.2895, allocations: 0.6351 MB / 0.564 GB, free: 13.14 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.2896, allocations: 60 kB / 0.564 GB, free: 13.08 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.2904, allocations: 0.7526 MB / 0.5647 GB, free: 12.33 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2906, allocations: 287.1 kB / 0.565 GB, free: 12.05 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.2908, allocations: 287.4 kB / 0.5653 GB, free: 11.77 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.292, allocations: 1.531 MB / 0.5668 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.292, allocations: 0 / 0.5668 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.292, allocations: 0 / 0.5668 GB, free: 10.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.292, allocations: 0 / 0.5668 GB, free: 10.23 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001448/0.2935, allocations: 1.065 MB / 0.5678 GB, free: 9.133 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2935, allocations: 12.03 kB / 0.5678 GB, free: 9.121 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.004e-05/0.2936, allocations: 98.5 kB / 0.5679 GB, free: 9.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.294, allocations: 147.3 kB / 0.5681 GB, free: 8.871 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.2946, allocations: 478.7 kB / 0.5685 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2947, allocations: 163.7 kB / 0.5687 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.2948, allocations: 44 kB / 0.5687 GB, free: 8.152 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.2957, allocations: 1.169 MB / 0.5699 GB, free: 6.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2958, allocations: 11.88 kB / 0.5699 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.2958, allocations: 23.98 kB / 0.5699 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.2959, allocations: 36.98 kB / 0.5699 GB, free: 6.746 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.2965, allocations: 0.6127 MB / 0.5705 GB, free: 6.137 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.2992, allocations: 3.313 MB / 0.5738 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.2996, allocations: 341.2 kB / 0.5741 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2998, allocations: 161.3 kB / 0.5743 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.3, allocations: 142.6 kB / 0.5744 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3, allocations: 43.66 kB / 0.5744 GB, free: 2.008 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.3, allocations: 0 / 0.5744 GB, free: 2.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.002976/0.303, allocations: 1.598 MB / 0.576 GB, free: 368 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3031, allocations: 132.5 kB / 0.5761 GB, free: 204 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.3035, allocations: 0.6288 MB / 0.5767 GB, free: 15.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3036, allocations: 33.7 kB / 0.5768 GB, free: 15.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3038, allocations: 375.8 kB / 0.5771 GB, free: 15.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.3038, allocations: 150.8 kB / 0.5773 GB, free: 15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.304, allocations: 158.6 kB / 0.5774 GB, free: 14.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3041, allocations: 378.7 kB / 0.5778 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3043, allocations: 197.9 kB / 0.578 GB, free: 14.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.3047, allocations: 0.5997 MB / 0.5786 GB, free: 13.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.3053, allocations: 0.7448 MB / 0.5793 GB, free: 12.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.3053, allocations: 4 kB / 0.5793 GB, free: 12.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009158/0.3063, allocations: 0.8728 MB / 0.5801 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3063, allocations: 8 kB / 0.5801 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3063, allocations: 8 kB / 0.5802 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007148/0.307, allocations: 320.5 kB / 0.5805 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3072, allocations: 119.8 kB / 0.5806 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.3079, allocations: 0.9348 MB / 0.5815 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3082, allocations: 24 kB / 0.5815 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.3082, allocations: 70.86 kB / 0.5816 GB, free: 10.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.3084, allocations: 245.6 kB / 0.5818 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.3085, allocations: 75.5 kB / 0.5819 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.3093, allocations: 0.6852 MB / 0.5826 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3093, allocations: 4 kB / 0.5826 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3093, allocations: 4 kB / 0.5826 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3093, allocations: 0 / 0.5826 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3105, allocations: 1.211 MB / 0.5837 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3105, allocations: 0 / 0.5837 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.3111, allocations: 211.8 kB / 0.5839 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.251e-05/0.3111, allocations: 24.78 kB / 0.584 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3111, allocations: 16 kB / 0.584 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.3124, allocations: 2.667 MB / 0.5866 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3124, allocations: 4.25 kB / 0.5866 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.3131, allocations: 0.8092 MB / 0.5874 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3133, allocations: 123.5 kB / 0.5875 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.3133, allocations: 19.92 kB / 0.5875 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3135, allocations: 15.94 kB / 0.5875 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.3136, allocations: 39.94 kB / 0.5876 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.3136, allocations: 39.98 kB / 0.5876 GB, free: 3.703 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.314, allocations: 443 kB / 0.588 GB, free: 3.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.314, allocations: 0 / 0.588 GB, free: 3.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.3145, allocations: 299.6 kB / 0.5883 GB, free: 2.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.316, allocations: 1.624 MB / 0.5899 GB, free: 1.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.3166, allocations: 0.5357 MB / 0.5904 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3166, allocations: 3.859 kB / 0.5904 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.3171, allocations: 414.8 kB / 0.5908 GB, free: 372 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.318, allocations: 356.7 kB / 0.5912 GB, free: 24 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.3235, allocations: 6.232 MB / 0.5973 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3237, allocations: 332.7 kB / 0.5976 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004821/0.3242, allocations: 258 kB / 0.5978 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.3245, allocations: 276.4 kB / 0.5981 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.3245, allocations: 0 / 0.5981 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/0.4992, allocations: 26.8 MB / 0.6243 GB, free: 194.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.29, allocations: 1.219 kB / 0.6243 GB, free: 194.2 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 11.341831432655454]