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.0009003/0.0009003, allocations: 76.5 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.001039/0.001039, allocations: 173.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.8514/0.8514, allocations: 158.6 MB / 185 MB, free: 3.039 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.1287/0.1287, allocations: 32.38 MB / 269.6 MB, free: 14.97 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.774e-06/1.774e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.64e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.272/0.2721, allocations: 155.6 MB / 0.5493 GB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006136/0.2782, allocations: 7.507 MB / 0.5566 GB, free: 1.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.2788, allocations: 28.84 kB / 0.5566 GB, free: 1.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.2796, allocations: 311.9 kB / 0.5569 GB, free: 1.738 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.2825, allocations: 1.562 MB / 0.5585 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2846, allocations: 1.2 MB / 0.5596 GB, free: 296 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.2862, allocations: 1.888 MB / 0.5615 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.2867, allocations: 393.6 kB / 0.5619 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.2888, allocations: 1.497 MB / 0.5633 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.2895, allocations: 0.6451 MB / 0.564 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.2896, allocations: 68.28 kB / 0.564 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.2907, allocations: 0.7435 MB / 0.5647 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.291, allocations: 284.2 kB / 0.565 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.2912, allocations: 280.3 kB / 0.5653 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.2928, allocations: 1.541 MB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2928, allocations: 0 / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.2928, allocations: 3.938 kB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2928, allocations: 0 / 0.5668 GB, free: 11.98 MB / 458.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.001515/0.2943, allocations: 1.064 MB / 0.5678 GB, free: 11.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2944, allocations: 10.97 kB / 0.5678 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.784e-05/0.2945, allocations: 95.89 kB / 0.5679 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.2949, allocations: 146.6 kB / 0.5681 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.2955, allocations: 478.1 kB / 0.5685 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.2956, allocations: 153.3 kB / 0.5687 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.2957, allocations: 59.73 kB / 0.5687 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2967, allocations: 1.159 MB / 0.5699 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2967, allocations: 6.688 kB / 0.5699 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.2967, allocations: 27.92 kB / 0.5699 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.2968, allocations: 39.84 kB / 0.5699 GB, free: 9.457 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.2974, allocations: 0.6165 MB / 0.5705 GB, free: 9.156 MB / 458.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.002609/0.3, allocations: 3.313 MB / 0.5738 GB, free: 6.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3004, allocations: 335.5 kB / 0.5741 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3006, allocations: 161.5 kB / 0.5742 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.3008, allocations: 137 kB / 0.5744 GB, free: 6.066 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3009, allocations: 41.16 kB / 0.5744 GB, free: 6.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/0.3009, allocations: 2.625 kB / 0.5744 GB, free: 6.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003027/0.3039, allocations: 1.59 MB / 0.576 GB, free: 5.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.304, allocations: 137.8 kB / 0.5761 GB, free: 4.922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3044, allocations: 0.6269 MB / 0.5767 GB, free: 4.547 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3044, allocations: 37.73 kB / 0.5768 GB, free: 4.508 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3046, allocations: 380 kB / 0.5771 GB, free: 4.168 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.3047, allocations: 141.2 kB / 0.5772 GB, free: 4.047 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3048, allocations: 157.2 kB / 0.5774 GB, free: 3.961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3049, allocations: 382.7 kB / 0.5778 GB, free: 3.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.3051, allocations: 204.2 kB / 0.578 GB, free: 3.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3055, allocations: 0.5924 MB / 0.5785 GB, free: 2.777 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.3063, allocations: 0.7487 MB / 0.5793 GB, free: 1.891 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3063, allocations: 0 / 0.5793 GB, free: 1.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000897/0.3072, allocations: 0.8728 MB / 0.5801 GB, free: 1.008 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3072, allocations: 12.06 kB / 0.5801 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3072, allocations: 12.56 kB / 0.5801 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/0.3079, allocations: 326.2 kB / 0.5805 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3081, allocations: 123.8 kB / 0.5806 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.3088, allocations: 0.9264 MB / 0.5815 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.3091, allocations: 31.98 kB / 0.5815 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.3092, allocations: 60.06 kB / 0.5816 GB, free: 15.51 MB / 474.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.0002288/0.3094, allocations: 255.7 kB / 0.5818 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3095, allocations: 79.45 kB / 0.5819 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.3103, allocations: 0.6722 MB / 0.5825 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3103, allocations: 7.984 kB / 0.5825 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3103, allocations: 0 / 0.5825 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3103, allocations: 7.984 kB / 0.5826 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.3115, allocations: 1.218 MB / 0.5837 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3115, allocations: 4 kB / 0.5837 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.312, allocations: 203.8 kB / 0.5839 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.93e-05/0.3121, allocations: 28.97 kB / 0.584 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3121, allocations: 19.92 kB / 0.584 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.3134, allocations: 2.658 MB / 0.5866 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3134, allocations: 7.969 kB / 0.5866 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.3142, allocations: 0.8014 MB / 0.5874 GB, free: 9.207 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3143, allocations: 119.5 kB / 0.5875 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.3144, allocations: 15.94 kB / 0.5875 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3146, allocations: 23.92 kB / 0.5875 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.3146, allocations: 39.8 kB / 0.5876 GB, free: 9.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3147, allocations: 45.67 kB / 0.5876 GB, free: 8.969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.315, allocations: 443.1 kB / 0.588 GB, free: 8.539 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.315, allocations: 4 kB / 0.588 GB, free: 8.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.3156, allocations: 295.6 kB / 0.5883 GB, free: 8.246 MB / 474.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.001483/0.3171, allocations: 1.627 MB / 0.5899 GB, free: 6.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.3178, allocations: 0.5273 MB / 0.5904 GB, free: 6.062 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3178, allocations: 4.625 kB / 0.5904 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.3183, allocations: 410.4 kB / 0.5908 GB, free: 5.645 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.3192, allocations: 363.5 kB / 0.5912 GB, free: 5.316 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.3252, allocations: 6.231 MB / 0.5972 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3254, allocations: 336.7 kB / 0.5976 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.3261, allocations: 255.3 kB / 0.5978 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.3265, allocations: 280.4 kB / 0.5981 GB, free: 13.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.094e-06/0.3265, allocations: 0 / 0.5981 GB, free: 13.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.3666, allocations: 26.76 MB / 0.6242 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/9.107, allocations: 0 / 0.6242 GB, free: 3.027 MB / 0.4948 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.170151255093515]