Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 113 kB / 21.22 MB, free: 0.6055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 211.6 kB / 24.53 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002955, allocations: 79.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3191, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1802/0.4993, allocations: 152.9 MB / 0.7108 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.5014, allocations: 1.604 MB / 0.7124 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.5015, allocations: 0 / 0.7124 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.5018, allocations: 55.72 kB / 0.7125 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.5029, allocations: 424 kB / 0.7129 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.5033, allocations: 167.5 kB / 0.713 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.5036, allocations: 179.3 kB / 0.7132 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.5036, allocations: 11.92 kB / 0.7132 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.5038, allocations: 83.62 kB / 0.7133 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.5039, allocations: 67.73 kB / 0.7133 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.5039, allocations: 4 kB / 0.7133 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5051, allocations: 0.6353 MB / 0.714 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.5051, allocations: 35.84 kB / 0.714 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.5052, allocations: 47.78 kB / 0.714 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.5058, allocations: 410.9 kB / 0.7144 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5058, allocations: 0 / 0.7144 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5058, allocations: 0 / 0.7144 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5059, allocations: 0 / 0.7144 GB, free: 7.086 MB / 0.545 GB 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.000605/0.5065, allocations: 361.8 kB / 0.7148 GB, free: 6.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5065, allocations: 11.97 kB / 0.7148 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.807e-05/0.5065, allocations: 8.375 kB / 0.7148 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.5066, allocations: 42.75 kB / 0.7148 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.5087, allocations: 196.6 kB / 0.715 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.509, allocations: 161.3 kB / 0.7152 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.509, allocations: 8 kB / 0.7152 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.509, allocations: 4 kB / 0.7152 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.5095, allocations: 205.5 kB / 0.7154 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5096, allocations: 3.938 kB / 0.7154 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.5096, allocations: 4 kB / 0.7154 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5096, allocations: 4 kB / 0.7154 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.5102, allocations: 235.8 kB / 0.7156 GB, free: 5.797 MB / 0.545 GB 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.001732/0.5119, allocations: 0.6055 MB / 0.7162 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.5124, allocations: 186.5 kB / 0.7164 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.5126, allocations: 88.81 kB / 0.7165 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5127, allocations: 11.98 kB / 0.7165 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5127, allocations: 42.56 kB / 0.7165 GB, free: 4.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.5127, allocations: 0 / 0.7165 GB, free: 4.805 MB / 0.545 GB 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.005715/0.5185, allocations: 1.397 MB / 0.7179 GB, free: 3.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.5185, allocations: 59.34 kB / 0.718 GB, free: 3.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5186, allocations: 113.8 kB / 0.7181 GB, free: 3.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.5186, allocations: 29.7 kB / 0.7181 GB, free: 3.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5187, allocations: 104.3 kB / 0.7182 GB, free: 3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.5188, allocations: 63.44 kB / 0.7183 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.5189, allocations: 49.69 kB / 0.7183 GB, free: 2.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.519, allocations: 314.8 kB / 0.7186 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5192, allocations: 95.94 kB / 0.7187 GB, free: 2.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5195, allocations: 119.4 kB / 0.7188 GB, free: 2.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.5199, allocations: 234.2 kB / 0.719 GB, free: 2.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5199, allocations: 0 / 0.719 GB, free: 2.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006525/0.5206, allocations: 282.3 kB / 0.7193 GB, free: 1.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5206, allocations: 6.031 kB / 0.7193 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5206, allocations: 4 kB / 0.7193 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.5208, allocations: 24.78 kB / 0.7193 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.5212, allocations: 55.95 kB / 0.7194 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/0.5217, allocations: 0.5406 MB / 0.7199 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.5219, allocations: 12.03 kB / 0.7199 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.522, allocations: 4 kB / 0.7199 GB, free: 1.148 MB / 0.545 GB 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.0001485/0.5221, allocations: 127.1 kB / 0.7201 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.5222, allocations: 7.953 kB / 0.7201 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.5229, allocations: 319.1 kB / 0.7204 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5229, allocations: 0 / 0.7204 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5229, allocations: 0 / 0.7204 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5229, allocations: 0 / 0.7204 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.5241, allocations: 0.6513 MB / 0.721 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5241, allocations: 0 / 0.721 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.5245, allocations: 51.89 kB / 0.721 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-05/0.5246, allocations: 20.84 kB / 0.7211 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.5246, allocations: 12.08 kB / 0.7211 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.5257, allocations: 1.279 MB / 0.7223 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5257, allocations: 0 / 0.7223 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.5266, allocations: 454.7 kB / 0.7228 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.5266, allocations: 7.953 kB / 0.7228 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.5267, allocations: 4 kB / 0.7228 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.527, allocations: 11.98 kB / 0.7228 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.527, allocations: 19.91 kB / 0.7228 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.5271, allocations: 8 kB / 0.7228 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.5271, allocations: 95.2 kB / 0.7229 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5271, allocations: 4.062 kB / 0.7229 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006035/0.5277, allocations: 135.7 kB / 0.723 GB, free: 13.74 MB / 0.5606 GB 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.001897/0.5296, allocations: 1.127 MB / 0.7241 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.5303, allocations: 239 kB / 0.7244 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5303, allocations: 0 / 0.7244 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.5307, allocations: 233.1 kB / 0.7246 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.5312, allocations: 44.5 kB / 0.7246 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.5345, allocations: 2.133 MB / 0.7267 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5349, allocations: 0.7086 MB / 0.7274 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003059/0.5352, allocations: 57.33 kB / 0.7275 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.5353, allocations: 43.41 kB / 0.7275 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.5353, allocations: 0 / 0.7275 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.5678, allocations: 8.204 MB / 0.7355 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.16, allocations: 8.25 kB / 0.7355 GB, free: 0.8633 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.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: 16.257914629008155]