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.001473/0.001473, allocations: 103.9 kB / 21.96 MB, free: 5.219 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.001625/0.001625, allocations: 214 kB / 25.26 MB, free: 3.129 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.291/1.291, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="cs",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.001674/0.001674, allocations: 54.73 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 49.16 MB / 397.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1484/0.3813, allocations: 129.4 MB / 0.5142 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3825, allocations: 0.8878 MB / 0.5151 GB, free: 368 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.3826, allocations: 4 kB / 0.5151 GB, free: 364 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3828, allocations: 27.78 kB / 0.5151 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.3834, allocations: 242.5 kB / 0.5153 GB, free: 96 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3837, allocations: 119.7 kB / 0.5154 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3839, allocations: 171.2 kB / 0.5156 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.384, allocations: 7.984 kB / 0.5156 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3842, allocations: 87.62 kB / 0.5157 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.3843, allocations: 55.77 kB / 0.5158 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3843, allocations: 8 kB / 0.5158 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.3847, allocations: 267.7 kB / 0.516 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.3848, allocations: 15.97 kB / 0.516 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.3849, allocations: 47.8 kB / 0.5161 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.3853, allocations: 281 kB / 0.5163 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3853, allocations: 4 kB / 0.5164 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3853, allocations: 0 / 0.5164 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3853, allocations: 0 / 0.5164 GB, free: 15.05 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.0004763/0.3858, allocations: 329.9 kB / 0.5167 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3858, allocations: 15.98 kB / 0.5167 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.3858, allocations: 4.188 kB / 0.5167 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.3859, allocations: 38.75 kB / 0.5167 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.3878, allocations: 188.5 kB / 0.5169 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3881, allocations: 161.9 kB / 0.5171 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3881, allocations: 4 kB / 0.5171 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.3882, allocations: 8 kB / 0.5171 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.3887, allocations: 301.2 kB / 0.5174 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3887, allocations: 0 / 0.5174 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.3887, allocations: 7.984 kB / 0.5174 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3887, allocations: 4 kB / 0.5174 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.3892, allocations: 167.8 kB / 0.5175 GB, free: 13.75 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.001002/0.3902, allocations: 0.5396 MB / 0.5181 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3905, allocations: 138.5 kB / 0.5182 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3907, allocations: 68.81 kB / 0.5183 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3907, allocations: 4 kB / 0.5183 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3907, allocations: 34.56 kB / 0.5183 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.3907, allocations: 0 / 0.5183 GB, free: 12.9 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.005007/0.3957, allocations: 1.152 MB / 0.5194 GB, free: 11.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3958, allocations: 51.41 kB / 0.5195 GB, free: 11.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.3958, allocations: 113.8 kB / 0.5196 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3959, allocations: 25.7 kB / 0.5196 GB, free: 11.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.3959, allocations: 99.98 kB / 0.5197 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.396, allocations: 67.42 kB / 0.5198 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3961, allocations: 57.69 kB / 0.5198 GB, free: 11.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3962, allocations: 322.8 kB / 0.5201 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3964, allocations: 67.95 kB / 0.5202 GB, free: 10.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3966, allocations: 111.2 kB / 0.5203 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.3969, allocations: 187.3 kB / 0.5205 GB, free: 10.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3969, allocations: 0 / 0.5205 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005222/0.3975, allocations: 254.2 kB / 0.5207 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3975, allocations: 8 kB / 0.5207 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3975, allocations: 0 / 0.5207 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.3977, allocations: 56.92 kB / 0.5208 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.398, allocations: 51.91 kB / 0.5208 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.3984, allocations: 0.5641 MB / 0.5214 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3986, allocations: 4 kB / 0.5214 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.3987, allocations: 35.97 kB / 0.5214 GB, free: 9.531 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.0001182/0.3988, allocations: 121.8 kB / 0.5215 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3988, allocations: 15.89 kB / 0.5215 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.3996, allocations: 347 kB / 0.5219 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3996, allocations: 7.938 kB / 0.5219 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3996, allocations: 4 kB / 0.5219 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3996, allocations: 0 / 0.5219 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009671/0.4005, allocations: 0.5794 MB / 0.5224 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4006, allocations: 4 kB / 0.5225 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.4009, allocations: 60.05 kB / 0.5225 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.389e-05/0.401, allocations: 24.78 kB / 0.5225 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.401, allocations: 12 kB / 0.5225 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009455/0.402, allocations: 1.263 MB / 0.5238 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.402, allocations: 4.031 kB / 0.5238 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.4026, allocations: 430.9 kB / 0.5242 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.4027, allocations: 15.84 kB / 0.5242 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.4027, allocations: 4 kB / 0.5242 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4029, allocations: 11.92 kB / 0.5242 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.403, allocations: 23.97 kB / 0.5242 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.403, allocations: 27.98 kB / 0.5243 GB, free: 6.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.457e-05/0.4031, allocations: 83.59 kB / 0.5244 GB, free: 6.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4031, allocations: 0 / 0.5244 GB, free: 6.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.4035, allocations: 83.92 kB / 0.5244 GB, free: 6.211 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.001212/0.4047, allocations: 1.009 MB / 0.5254 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.4051, allocations: 199.8 kB / 0.5256 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4051, allocations: 0 / 0.5256 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.4055, allocations: 218.6 kB / 0.5258 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.4059, allocations: 53.77 kB / 0.5259 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.4086, allocations: 2.085 MB / 0.5279 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.4087, allocations: 97.97 kB / 0.528 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.409, allocations: 69.39 kB / 0.5281 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4092, allocations: 71.39 kB / 0.5281 GB, free: 2.223 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4092, allocations: 4 kB / 0.5281 GB, free: 2.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.4424, allocations: 7.573 MB / 0.5355 GB, free: 10.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.57, allocations: 20.25 kB / 0.5356 GB, free: 10.56 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: 14.90472510701511]