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.0007006/0.0007006, 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.000775/0.000775, 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.8834/0.8834, 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.1365/0.1365, 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 2.414e-06/2.414e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.07e-05, allocations: 5.938 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3985/0.3985, allocations: 155.6 MB / 0.5493 GB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009352/0.4079, allocations: 7.516 MB / 0.5566 GB, free: 1.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.4087, allocations: 29.88 kB / 0.5567 GB, free: 1.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.4098, allocations: 309.8 kB / 0.5569 GB, free: 1.734 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.4139, allocations: 1.558 MB / 0.5585 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.4165, allocations: 1.205 MB / 0.5596 GB, free: 292 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.4187, allocations: 1.885 MB / 0.5615 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.4193, allocations: 395.3 kB / 0.5619 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.4223, allocations: 1.5 MB / 0.5633 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.4233, allocations: 0.6431 MB / 0.564 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.4234, allocations: 60.5 kB / 0.564 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4253, allocations: 0.7452 MB / 0.5647 GB, free: 13.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4256, allocations: 285.9 kB / 0.565 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.4259, allocations: 294.8 kB / 0.5653 GB, free: 12.97 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.4278, allocations: 1.527 MB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4278, allocations: 4 kB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4278, allocations: 2.312 kB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.4278, 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.001807/0.4297, allocations: 1.063 MB / 0.5678 GB, free: 11.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4297, allocations: 10.62 kB / 0.5678 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.4298, allocations: 96.2 kB / 0.5679 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.4304, allocations: 147.3 kB / 0.5681 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.4312, allocations: 477.1 kB / 0.5685 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.4313, allocations: 157.2 kB / 0.5687 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.4314, allocations: 55.78 kB / 0.5687 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.4327, allocations: 1.167 MB / 0.5699 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.4327, allocations: 6.625 kB / 0.5699 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.4327, allocations: 28.11 kB / 0.5699 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/0.4328, allocations: 37.98 kB / 0.5699 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.4336, allocations: 0.6165 MB / 0.5705 GB, free: 9.152 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.00357/0.4372, allocations: 3.305 MB / 0.5738 GB, free: 6.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.4377, allocations: 342.7 kB / 0.5741 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4378, allocations: 157.7 kB / 0.5742 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.4382, allocations: 140.8 kB / 0.5744 GB, free: 6.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4382, allocations: 37.25 kB / 0.5744 GB, free: 6.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.745e-06/0.4382, allocations: 0 / 0.5744 GB, free: 6.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003804/0.442, allocations: 1.593 MB / 0.576 GB, free: 5.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.4421, allocations: 131 kB / 0.5761 GB, free: 4.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.4427, allocations: 0.6377 MB / 0.5767 GB, free: 4.543 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.4428, allocations: 41.73 kB / 0.5768 GB, free: 4.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.443, allocations: 371.7 kB / 0.5771 GB, free: 4.168 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/0.4431, allocations: 140.9 kB / 0.5772 GB, free: 4.047 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.4433, allocations: 159.4 kB / 0.5774 GB, free: 3.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4434, allocations: 378.7 kB / 0.5778 GB, free: 3.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.4437, allocations: 204.2 kB / 0.578 GB, free: 3.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.4442, allocations: 0.5977 MB / 0.5785 GB, free: 2.754 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.4449, allocations: 0.7448 MB / 0.5793 GB, free: 1.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4449, allocations: 0 / 0.5793 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001078/0.446, allocations: 0.8719 MB / 0.5801 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.446, allocations: 8.969 kB / 0.5801 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.446, allocations: 12.56 kB / 0.5801 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.4469, allocations: 335.3 kB / 0.5805 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4472, allocations: 121.9 kB / 0.5806 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008777/0.4481, allocations: 0.9278 MB / 0.5815 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.4485, allocations: 28 kB / 0.5815 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.4486, allocations: 63.98 kB / 0.5816 GB, free: 15.48 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.0004257/0.449, allocations: 247.8 kB / 0.5818 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.4492, allocations: 91.48 kB / 0.5819 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.4505, allocations: 0.6728 MB / 0.5825 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4505, allocations: 4 kB / 0.5826 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4505, allocations: 0 / 0.5826 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4505, allocations: 0 / 0.5826 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4521, allocations: 1.22 MB / 0.5837 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4521, allocations: 0 / 0.5837 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.4527, allocations: 207.8 kB / 0.5839 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.4527, allocations: 24.84 kB / 0.584 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4528, allocations: 23.92 kB / 0.584 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.4546, allocations: 2.658 MB / 0.5866 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4546, allocations: 11.95 kB / 0.5866 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.4555, allocations: 0.8056 MB / 0.5874 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4558, allocations: 123.5 kB / 0.5875 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.4558, allocations: 15.88 kB / 0.5875 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.456, allocations: 19.94 kB / 0.5875 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.4561, allocations: 39.8 kB / 0.5876 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.4562, allocations: 47.97 kB / 0.5876 GB, free: 8.938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.4567, allocations: 435 kB / 0.588 GB, free: 8.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4567, allocations: 0 / 0.588 GB, free: 8.516 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008442/0.4575, allocations: 299.6 kB / 0.5883 GB, free: 8.223 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.002181/0.4597, allocations: 1.632 MB / 0.5899 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000926/0.4606, allocations: 0.5264 MB / 0.5904 GB, free: 6.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4606, allocations: 5.562 kB / 0.5904 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4612, allocations: 406.6 kB / 0.5908 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4623, allocations: 373.8 kB / 0.5912 GB, free: 5.285 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.4696, allocations: 6.221 MB / 0.5973 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4698, allocations: 332.7 kB / 0.5976 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006872/0.4705, allocations: 258 kB / 0.5978 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.4708, allocations: 276.4 kB / 0.5981 GB, free: 13.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4708, allocations: 0 / 0.5981 GB, free: 13.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.5132, allocations: 26.81 MB / 0.6243 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.678, allocations: 7.984 kB / 0.6243 GB, free: 2.945 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.836616761051118]