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.00153/0.00153, allocations: 112.8 kB / 19.16 MB, free: 3.887 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.001799/0.001799, allocations: 209.6 kB / 22.12 MB, free: 0.9453 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.362/1.362, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.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.00168/0.00168, allocations: 55.92 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08736, allocations: 49.12 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.345/0.4324, allocations: 151 MB / 0.5304 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.4336, allocations: 0.9841 MB / 0.5314 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.4337, allocations: 0 / 0.5314 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.4339, allocations: 32.11 kB / 0.5314 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.4345, allocations: 249.5 kB / 0.5316 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.4348, allocations: 118.1 kB / 0.5318 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.435, allocations: 164.9 kB / 0.5319 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.435, allocations: 2.156 kB / 0.5319 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.4352, allocations: 97.03 kB / 0.532 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.4353, allocations: 50.8 kB / 0.5321 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.4353, allocations: 5.031 kB / 0.5321 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.4358, allocations: 268.4 kB / 0.5323 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.4358, allocations: 23.91 kB / 0.5323 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.4359, allocations: 43.8 kB / 0.5324 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.4363, allocations: 289.5 kB / 0.5327 GB, free: 9.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.4363, allocations: 0 / 0.5327 GB, free: 9.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4363, allocations: 0 / 0.5327 GB, free: 9.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4363, allocations: 4 kB / 0.5327 GB, free: 9.234 MB / 414.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.0005166/0.4368, allocations: 403.5 kB / 0.5331 GB, free: 8.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4369, allocations: 12.03 kB / 0.5331 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/0.4369, allocations: 8.125 kB / 0.5331 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.4369, allocations: 42.75 kB / 0.5331 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.439, allocations: 188.6 kB / 0.5333 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.4393, allocations: 208 kB / 0.5335 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4393, allocations: 8 kB / 0.5335 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.4394, allocations: 4 kB / 0.5335 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.4399, allocations: 232 kB / 0.5337 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4399, allocations: 0 / 0.5337 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4399, allocations: 4 kB / 0.5337 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4399, allocations: 4 kB / 0.5337 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.4404, allocations: 169.2 kB / 0.5339 GB, free: 7.871 MB / 414.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.001021/0.4414, allocations: 0.5839 MB / 0.5345 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4418, allocations: 134.5 kB / 0.5346 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.4419, allocations: 65.08 kB / 0.5347 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4419, allocations: 12 kB / 0.5347 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4419, allocations: 34.56 kB / 0.5347 GB, free: 6.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4419, allocations: 0 / 0.5347 GB, free: 6.969 MB / 414.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.005352/0.4473, allocations: 1.301 MB / 0.536 GB, free: 5.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4473, allocations: 51.41 kB / 0.536 GB, free: 5.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.4474, allocations: 112 kB / 0.5361 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.4475, allocations: 29.7 kB / 0.5362 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.4475, allocations: 104 kB / 0.5363 GB, free: 5.258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.4476, allocations: 63.44 kB / 0.5363 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.4477, allocations: 53.69 kB / 0.5364 GB, free: 5.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4478, allocations: 318.8 kB / 0.5367 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.448, allocations: 71.97 kB / 0.5367 GB, free: 4.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4481, allocations: 108.2 kB / 0.5368 GB, free: 4.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.4485, allocations: 187.3 kB / 0.537 GB, free: 4.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4485, allocations: 0 / 0.537 GB, free: 4.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005049/0.449, allocations: 266.1 kB / 0.5373 GB, free: 4.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.449, allocations: 8 kB / 0.5373 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.449, allocations: 0 / 0.5373 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.4492, allocations: 48.83 kB / 0.5373 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.4495, allocations: 59.98 kB / 0.5374 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/0.4499, allocations: 0.5719 MB / 0.5379 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4501, allocations: 7.625 kB / 0.5379 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.4501, allocations: 24 kB / 0.538 GB, free: 3.422 MB / 414.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.0001193/0.4503, allocations: 125.8 kB / 0.5381 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.4503, allocations: 12.05 kB / 0.5381 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.4511, allocations: 347 kB / 0.5384 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4511, allocations: 3.938 kB / 0.5384 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4511, allocations: 0 / 0.5384 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4511, allocations: 4 kB / 0.5384 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.4521, allocations: 0.6269 MB / 0.5391 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4521, allocations: 0 / 0.5391 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.4524, allocations: 59.95 kB / 0.5391 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-05/0.4525, allocations: 20.84 kB / 0.5391 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.4525, allocations: 15.98 kB / 0.5391 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009731/0.4535, allocations: 1.368 MB / 0.5405 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4535, allocations: 0 / 0.5405 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.4542, allocations: 430.8 kB / 0.5409 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.4542, allocations: 89.05 kB / 0.541 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.4542, allocations: 4 kB / 0.541 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4545, allocations: 16.92 kB / 0.541 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4545, allocations: 23.92 kB / 0.541 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.4546, allocations: 27.98 kB / 0.541 GB, free: 0 / 414.1 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.4546, allocations: 87.34 kB / 0.5411 GB, free: 15.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4546, allocations: 0 / 0.5411 GB, free: 15.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.455, allocations: 83.88 kB / 0.5412 GB, free: 15.83 MB / 430.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.001207/0.4562, allocations: 1.008 MB / 0.5422 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.4567, allocations: 212.3 kB / 0.5424 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4567, allocations: 192 / 0.5424 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.457, allocations: 210.6 kB / 0.5426 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.4575, allocations: 56.08 kB / 0.5427 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.4601, allocations: 2.086 MB / 0.5447 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4604, allocations: 0.7046 MB / 0.5454 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.4607, allocations: 77.39 kB / 0.5454 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4609, allocations: 63.41 kB / 0.5455 GB, free: 11.23 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4609, allocations: 0 / 0.5455 GB, free: 11.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.4905, allocations: 7.373 MB / 0.5527 GB, free: 3.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.82, allocations: 12 kB / 0.5527 GB, free: 3.793 MB / 430.1 MB " [Timeout remaining time 648] (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.22881541698007]