Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001224/0.001224, allocations: 103.1 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.001348/0.001348, 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.281/1.281, 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.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.001637/0.001637, allocations: 59.84 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2253, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1452/0.3705, allocations: 129.7 MB / 0.5144 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3724, allocations: 1.339 MB / 0.5158 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.3725, allocations: 3.938 kB / 0.5158 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3728, allocations: 47.73 kB / 0.5158 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3738, allocations: 398 kB / 0.5162 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3743, allocations: 179.4 kB / 0.5164 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3746, allocations: 179.3 kB / 0.5165 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3746, allocations: 8 kB / 0.5165 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3748, allocations: 83.62 kB / 0.5166 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3749, allocations: 59.81 kB / 0.5167 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3749, allocations: 4 kB / 0.5167 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.376, allocations: 0.5339 MB / 0.5172 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.3761, allocations: 35.78 kB / 0.5172 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.3761, allocations: 47.84 kB / 0.5173 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.3769, allocations: 380.8 kB / 0.5176 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3769, allocations: 4 kB / 0.5176 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3769, allocations: 0 / 0.5176 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3769, allocations: 4 kB / 0.5176 GB, free: 13.72 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006314/0.3776, allocations: 361.8 kB / 0.518 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3776, allocations: 15.98 kB / 0.518 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.097e-05/0.3776, allocations: 384 / 0.518 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3777, allocations: 38.75 kB / 0.518 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.3799, allocations: 192.6 kB / 0.5182 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3801, allocations: 161.9 kB / 0.5184 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3801, allocations: 4 kB / 0.5184 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.3802, allocations: 12 kB / 0.5184 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.3807, allocations: 274.6 kB / 0.5187 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3808, allocations: 4 kB / 0.5187 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.3808, allocations: 7.984 kB / 0.5187 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3808, allocations: 7.938 kB / 0.5187 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.3814, allocations: 231.9 kB / 0.5189 GB, free: 12.35 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.001715/0.3831, allocations: 0.5747 MB / 0.5195 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.3835, allocations: 182.5 kB / 0.5196 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3838, allocations: 92.81 kB / 0.5197 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.3839, allocations: 15.98 kB / 0.5197 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3839, allocations: 34.56 kB / 0.5198 GB, free: 11.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 3.566e-06/0.3839, allocations: 3.984 kB / 0.5198 GB, free: 11.39 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.005566/0.3895, allocations: 1.392 MB / 0.5211 GB, free: 9.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3895, allocations: 55.34 kB / 0.5212 GB, free: 9.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.3896, allocations: 113.8 kB / 0.5213 GB, free: 9.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3897, allocations: 29.7 kB / 0.5213 GB, free: 9.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.3897, allocations: 96.36 kB / 0.5214 GB, free: 9.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.3898, allocations: 71.42 kB / 0.5215 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.3899, allocations: 41.7 kB / 0.5215 GB, free: 9.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.39, allocations: 322.8 kB / 0.5218 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3902, allocations: 87.95 kB / 0.5219 GB, free: 9.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3905, allocations: 131.2 kB / 0.522 GB, free: 8.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.3909, allocations: 227.2 kB / 0.5223 GB, free: 8.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3909, allocations: 0 / 0.5223 GB, free: 8.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006318/0.3916, allocations: 286.3 kB / 0.5225 GB, free: 8.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3916, allocations: 8 kB / 0.5225 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3916, allocations: 0 / 0.5225 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.3917, allocations: 28.78 kB / 0.5226 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.3922, allocations: 55.95 kB / 0.5226 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/0.3925, allocations: 0.5328 MB / 0.5231 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.3928, allocations: 11.95 kB / 0.5231 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.3928, allocations: 12.12 kB / 0.5232 GB, free: 7.727 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.0001314/0.393, allocations: 121.8 kB / 0.5233 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.393, allocations: 11.95 kB / 0.5233 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.3938, allocations: 319 kB / 0.5236 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3938, allocations: 7.938 kB / 0.5236 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3938, allocations: 0 / 0.5236 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3938, allocations: 3.984 kB / 0.5236 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3949, allocations: 0.6201 MB / 0.5242 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3949, allocations: 0 / 0.5242 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.3953, allocations: 59.98 kB / 0.5243 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.3954, allocations: 16.84 kB / 0.5243 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3954, allocations: 8 kB / 0.5243 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009481/0.3964, allocations: 1.26 MB / 0.5255 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3964, allocations: 4.031 kB / 0.5255 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.3972, allocations: 467.1 kB / 0.526 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3973, allocations: 7.984 kB / 0.526 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3973, allocations: 4 kB / 0.526 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3976, allocations: 11.98 kB / 0.526 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3977, allocations: 19.97 kB / 0.526 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.3977, allocations: 7.984 kB / 0.526 GB, free: 4.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.3977, allocations: 87.28 kB / 0.5261 GB, free: 4.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3977, allocations: 0 / 0.5261 GB, free: 4.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.3982, allocations: 135.7 kB / 0.5262 GB, free: 4.355 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 (19): * Single equations (assignments): 18 * 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.001698/0.3999, allocations: 1.125 MB / 0.5273 GB, free: 3.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005952/0.4005, allocations: 231.7 kB / 0.5275 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4005, allocations: 0 / 0.5275 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.4009, allocations: 230.8 kB / 0.5278 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4014, allocations: 52.36 kB / 0.5278 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4044, allocations: 2.149 MB / 0.5299 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.404e-05/0.4044, allocations: 89.97 kB / 0.53 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.4047, allocations: 53.39 kB / 0.5301 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4049, allocations: 39.42 kB / 0.5301 GB, free: 208 kB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4049, allocations: 0 / 0.5301 GB, free: 208 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.4382, allocations: 8.44 MB / 0.5383 GB, free: 7.684 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.61, allocations: 4.312 kB / 0.5383 GB, free: 7.68 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.924109969986603]