Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.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.001338/0.001338, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001424/0.001424, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 46.94 MB / 360.9 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 0.4962 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 66.03 MB / 0.5606 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1758/0.4866, allocations: 152.9 MB / 0.71 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.4887, allocations: 1.596 MB / 0.7116 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.4888, allocations: 4 kB / 0.7116 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.4891, allocations: 47.72 kB / 0.7116 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.4901, allocations: 423.9 kB / 0.712 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.4906, allocations: 174.9 kB / 0.7122 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.4908, allocations: 183.2 kB / 0.7123 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.4909, allocations: 11.94 kB / 0.7124 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.491, allocations: 79.75 kB / 0.7124 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4912, allocations: 67.73 kB / 0.7125 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.4912, allocations: 4 kB / 0.7125 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.4923, allocations: 0.6313 MB / 0.7131 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.4924, allocations: 27.91 kB / 0.7131 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.4924, allocations: 55.78 kB / 0.7132 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.4931, allocations: 414.9 kB / 0.7136 GB, free: 7.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4931, allocations: 0 / 0.7136 GB, free: 7.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4931, allocations: 0 / 0.7136 GB, free: 7.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4931, allocations: 0 / 0.7136 GB, free: 7.277 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.0005618/0.4936, allocations: 365.7 kB / 0.7139 GB, free: 6.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4937, allocations: 8.031 kB / 0.714 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.4937, allocations: 42.73 kB / 0.714 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.4959, allocations: 196.6 kB / 0.7142 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.4962, allocations: 161.7 kB / 0.7143 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4962, allocations: 8 kB / 0.7143 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.4962, allocations: 8 kB / 0.7143 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.4967, allocations: 199.2 kB / 0.7145 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4967, allocations: 4 kB / 0.7145 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.4967, allocations: 7.938 kB / 0.7146 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4967, allocations: 7.938 kB / 0.7146 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.4973, allocations: 235.8 kB / 0.7148 GB, free: 5.992 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.001748/0.499, allocations: 0.6018 MB / 0.7154 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.4995, allocations: 186.4 kB / 0.7155 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.4997, allocations: 92.81 kB / 0.7156 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.4998, allocations: 19.97 kB / 0.7157 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4999, allocations: 30.56 kB / 0.7157 GB, free: 5.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.4999, allocations: 0 / 0.7157 GB, free: 5.004 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.005677/0.5055, allocations: 1.39 MB / 0.717 GB, free: 3.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5056, allocations: 55.41 kB / 0.7171 GB, free: 3.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.5057, allocations: 113.8 kB / 0.7172 GB, free: 3.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.5057, allocations: 25.7 kB / 0.7172 GB, free: 3.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.5058, allocations: 108.3 kB / 0.7173 GB, free: 3.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.5059, allocations: 63.44 kB / 0.7174 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.5059, allocations: 49.69 kB / 0.7174 GB, free: 3.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5061, allocations: 318.8 kB / 0.7177 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.5063, allocations: 91.95 kB / 0.7178 GB, free: 2.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.5065, allocations: 123 kB / 0.7179 GB, free: 2.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.507, allocations: 233.3 kB / 0.7182 GB, free: 2.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.507, allocations: 0 / 0.7182 GB, free: 2.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006203/0.5076, allocations: 284.7 kB / 0.7184 GB, free: 2.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5076, allocations: 4 kB / 0.7184 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5077, allocations: 4 kB / 0.7185 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.5078, allocations: 28.94 kB / 0.7185 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.5082, allocations: 55.89 kB / 0.7185 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.5087, allocations: 0.5367 MB / 0.7191 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.509, allocations: 8 kB / 0.7191 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.509, allocations: 7.984 kB / 0.7191 GB, free: 1.355 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.0001405/0.5091, allocations: 129.9 kB / 0.7192 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.5092, allocations: 7.953 kB / 0.7192 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.51, allocations: 323.3 kB / 0.7195 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.51, allocations: 0 / 0.7195 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.51, allocations: 0 / 0.7195 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.51, allocations: 4 kB / 0.7195 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.5111, allocations: 0.6463 MB / 0.7201 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5111, allocations: 7.938 kB / 0.7202 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.5116, allocations: 55.89 kB / 0.7202 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.5116, allocations: 20.84 kB / 0.7202 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.5117, allocations: 7.984 kB / 0.7202 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.5127, allocations: 1.267 MB / 0.7215 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5127, allocations: 0 / 0.7215 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.5136, allocations: 456.9 kB / 0.7219 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.5136, allocations: 7.984 kB / 0.7219 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.5136, allocations: 4 kB / 0.7219 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.5139, allocations: 20.05 kB / 0.7219 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.514, allocations: 11.97 kB / 0.7219 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.514, allocations: 8 kB / 0.722 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.605e-05/0.5141, allocations: 91.27 kB / 0.722 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5141, allocations: 0 / 0.722 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005376/0.5146, allocations: 143.5 kB / 0.7222 GB, free: 13.95 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.001729/0.5163, allocations: 1.145 MB / 0.7233 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.517, allocations: 233.1 kB / 0.7235 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.517, allocations: 0 / 0.7235 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.5174, allocations: 234.5 kB / 0.7237 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.5178, allocations: 44.28 kB / 0.7238 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.5209, allocations: 2.127 MB / 0.7259 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.5212, allocations: 0.7086 MB / 0.7266 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.5215, allocations: 53.77 kB / 0.7266 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.5216, allocations: 39.41 kB / 0.7266 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5216, allocations: 0 / 0.7266 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.5609, allocations: 8.185 MB / 0.7346 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.36, allocations: 0 / 0.7346 GB, free: 1.125 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.43680656212382]