Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.001336/0.001336, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001385/0.001385, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.346/1.346, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.273, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1736/0.4466, allocations: 129.5 MB / 0.5135 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.448, allocations: 0.8801 MB / 0.5144 GB, free: 268 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.448, allocations: 0 / 0.5144 GB, free: 268 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.4483, allocations: 31.78 kB / 0.5144 GB, free: 236 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.4489, allocations: 238.5 kB / 0.5146 GB, free: 0 / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.4494, allocations: 131.6 kB / 0.5148 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.4496, allocations: 167.3 kB / 0.5149 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.4497, allocations: 7.984 kB / 0.5149 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.4499, allocations: 91.56 kB / 0.515 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.45, allocations: 47.83 kB / 0.5151 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.45, allocations: 4 kB / 0.5151 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.4506, allocations: 259.7 kB / 0.5153 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.4506, allocations: 15.98 kB / 0.5153 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.4507, allocations: 47.78 kB / 0.5154 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.4511, allocations: 277.5 kB / 0.5156 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4511, allocations: 4 kB / 0.5157 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4511, allocations: 0 / 0.5157 GB, free: 14.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4511, allocations: 3.938 kB / 0.5157 GB, free: 14.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005268/0.4517, allocations: 337.9 kB / 0.516 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4517, allocations: 15.98 kB / 0.516 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.731e-05/0.4518, allocations: 34.75 kB / 0.516 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4539, allocations: 192.6 kB / 0.5162 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.4543, allocations: 154.1 kB / 0.5164 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4543, allocations: 11.95 kB / 0.5164 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.4543, allocations: 8 kB / 0.5164 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.4549, allocations: 293.2 kB / 0.5167 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4549, allocations: 3.984 kB / 0.5167 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.455, allocations: 8 kB / 0.5167 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.455, allocations: 0 / 0.5167 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.4555, allocations: 183.8 kB / 0.5168 GB, free: 13.65 MB / 446.1 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.001197/0.4566, allocations: 0.5358 MB / 0.5174 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.457, allocations: 126.5 kB / 0.5175 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4572, allocations: 68.81 kB / 0.5176 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.4572, allocations: 4 kB / 0.5176 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4572, allocations: 34.56 kB / 0.5176 GB, free: 12.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4572, allocations: 0 / 0.5176 GB, free: 12.82 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005239/0.4625, allocations: 1.144 MB / 0.5187 GB, free: 11.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4625, allocations: 55.41 kB / 0.5188 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4626, allocations: 109.8 kB / 0.5189 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4626, allocations: 33.7 kB / 0.5189 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.4627, allocations: 99.97 kB / 0.519 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.4628, allocations: 67.42 kB / 0.5191 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.4629, allocations: 57.66 kB / 0.5191 GB, free: 11.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.463, allocations: 326.8 kB / 0.5194 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4632, allocations: 71.89 kB / 0.5195 GB, free: 10.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4634, allocations: 107.2 kB / 0.5196 GB, free: 10.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.4638, allocations: 179.3 kB / 0.5198 GB, free: 10.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4638, allocations: 0 / 0.5198 GB, free: 10.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005215/0.4643, allocations: 266.2 kB / 0.52 GB, free: 10.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4643, allocations: 4 kB / 0.52 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4643, allocations: 0 / 0.52 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.4645, allocations: 52.83 kB / 0.5201 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4649, allocations: 59.89 kB / 0.5201 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005111/0.4654, allocations: 0.5679 MB / 0.5207 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.4655, allocations: 8.219 kB / 0.5207 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.4656, allocations: 27.98 kB / 0.5207 GB, free: 9.441 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.4657, allocations: 125.8 kB / 0.5208 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.4658, allocations: 7.953 kB / 0.5208 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/0.4666, allocations: 350.8 kB / 0.5212 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.4666, allocations: 4 kB / 0.5212 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4666, allocations: 0 / 0.5212 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4666, allocations: 0 / 0.5212 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4677, allocations: 0.5793 MB / 0.5217 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4677, allocations: 0 / 0.5217 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.4681, allocations: 59.95 kB / 0.5218 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.4682, allocations: 24.78 kB / 0.5218 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4682, allocations: 15.98 kB / 0.5218 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.4693, allocations: 1.271 MB / 0.5231 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4693, allocations: 3.938 kB / 0.5231 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.47, allocations: 422.7 kB / 0.5235 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4701, allocations: 15.94 kB / 0.5235 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.4701, allocations: 4 kB / 0.5235 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.4703, allocations: 8 kB / 0.5235 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.4704, allocations: 27.89 kB / 0.5235 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4704, allocations: 32.14 kB / 0.5236 GB, free: 6.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.4705, allocations: 87.28 kB / 0.5237 GB, free: 6.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4705, allocations: 0 / 0.5237 GB, free: 6.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.4709, allocations: 79.92 kB / 0.5237 GB, free: 6.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.001293/0.4722, allocations: 1.009 MB / 0.5247 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.4727, allocations: 195.8 kB / 0.5249 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4727, allocations: 4 kB / 0.5249 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.4731, allocations: 218.9 kB / 0.5251 GB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.4735, allocations: 45.7 kB / 0.5252 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.4764, allocations: 2.081 MB / 0.5272 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.77e-05/0.4765, allocations: 93.97 kB / 0.5273 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.4768, allocations: 73.39 kB / 0.5274 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.477, allocations: 75.39 kB / 0.5274 GB, free: 2.145 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.477, allocations: 0 / 0.5274 GB, free: 2.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.5178, allocations: 7.852 MB / 0.5351 GB, free: 10.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.22, allocations: 256 / 0.5351 GB, free: 10.22 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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: 15.513354332186282]