Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001761/0.001761, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002412/0.002412, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 44.92 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002009/0.002009, allocations: 63.89 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1783/0.4931, allocations: 152.9 MB / 0.7064 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.4953, allocations: 1.6 MB / 0.7079 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.4954, allocations: 4 kB / 0.7079 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.4958, allocations: 51.72 kB / 0.708 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4969, allocations: 419.9 kB / 0.7084 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.4973, allocations: 167.4 kB / 0.7085 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.4976, allocations: 191.2 kB / 0.7087 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.4977, allocations: 7.922 kB / 0.7087 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.4979, allocations: 87.62 kB / 0.7088 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.498, allocations: 55.83 kB / 0.7089 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.498, allocations: 4 kB / 0.7089 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.4993, allocations: 0.6392 MB / 0.7095 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.4993, allocations: 35.91 kB / 0.7095 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.4994, allocations: 47.78 kB / 0.7096 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.5002, allocations: 410.9 kB / 0.71 GB, free: 10.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5002, allocations: 3.938 kB / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5002, allocations: 0 / 0.71 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5002, allocations: 0 / 0.71 GB, free: 10.55 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.0006165/0.5008, allocations: 361.8 kB / 0.7103 GB, free: 10.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5008, allocations: 12.03 kB / 0.7103 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.5009, allocations: 38.75 kB / 0.7104 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.5031, allocations: 196.6 kB / 0.7105 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5034, allocations: 157.8 kB / 0.7107 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.5034, allocations: 8 kB / 0.7107 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.5035, allocations: 8 kB / 0.7107 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.5039, allocations: 210.8 kB / 0.7109 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.504, allocations: 0 / 0.7109 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.504, allocations: 7.938 kB / 0.7109 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.504, allocations: 7.938 kB / 0.7109 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.5046, allocations: 231.8 kB / 0.7111 GB, free: 9.273 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.001815/0.5064, allocations: 0.6057 MB / 0.7117 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.5069, allocations: 190.4 kB / 0.7119 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.5071, allocations: 92.81 kB / 0.712 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5072, allocations: 15.98 kB / 0.712 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5073, allocations: 34.56 kB / 0.7121 GB, free: 8.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.5073, allocations: 0 / 0.7121 GB, free: 8.277 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.005776/0.513, allocations: 1.393 MB / 0.7134 GB, free: 6.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5131, allocations: 55.41 kB / 0.7135 GB, free: 6.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.5132, allocations: 109.8 kB / 0.7136 GB, free: 6.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5132, allocations: 29.7 kB / 0.7136 GB, free: 6.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.5133, allocations: 100.3 kB / 0.7137 GB, free: 6.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.5134, allocations: 67.44 kB / 0.7138 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.5135, allocations: 45.7 kB / 0.7138 GB, free: 6.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5136, allocations: 318.8 kB / 0.7141 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.5138, allocations: 91.89 kB / 0.7142 GB, free: 5.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.5141, allocations: 127 kB / 0.7143 GB, free: 5.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.5146, allocations: 237.4 kB / 0.7145 GB, free: 5.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5146, allocations: 0 / 0.7145 GB, free: 5.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006546/0.5152, allocations: 281.1 kB / 0.7148 GB, free: 5.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5152, allocations: 12.09 kB / 0.7148 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5152, allocations: 0 / 0.7148 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.5154, allocations: 24.84 kB / 0.7149 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.5158, allocations: 55.89 kB / 0.7149 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004233/0.5163, allocations: 0.5332 MB / 0.7154 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.5165, allocations: 16.08 kB / 0.7154 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.5166, allocations: 4 kB / 0.7154 GB, free: 4.633 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.0001453/0.5167, allocations: 133.8 kB / 0.7156 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.5168, allocations: 7.953 kB / 0.7156 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.5175, allocations: 326.9 kB / 0.7159 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5176, allocations: 0 / 0.7159 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5176, allocations: 4 kB / 0.7159 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5176, allocations: 0 / 0.7159 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.5188, allocations: 0.6513 MB / 0.7165 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5188, allocations: 0 / 0.7165 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.5193, allocations: 47.95 kB / 0.7166 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.5193, allocations: 24.84 kB / 0.7166 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.5194, allocations: 7.984 kB / 0.7166 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.5206, allocations: 1.271 MB / 0.7178 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5206, allocations: 7.922 kB / 0.7179 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.5215, allocations: 448.2 kB / 0.7183 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.5215, allocations: 7.984 kB / 0.7183 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.5215, allocations: 8 kB / 0.7183 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.5219, allocations: 8 kB / 0.7183 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.5219, allocations: 15.91 kB / 0.7183 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.5219, allocations: 15.98 kB / 0.7183 GB, free: 1.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.522, allocations: 87.27 kB / 0.7184 GB, free: 1.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.522, allocations: 64 / 0.7184 GB, free: 1.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006119/0.5226, allocations: 143.6 kB / 0.7186 GB, free: 1.215 MB / 0.545 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.001792/0.5244, allocations: 1.142 MB / 0.7197 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.525, allocations: 227.8 kB / 0.7199 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.525, allocations: 0 / 0.7199 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.5255, allocations: 227 kB / 0.7201 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.5259, allocations: 48.12 kB / 0.7202 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.5292, allocations: 2.132 MB / 0.7222 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.5295, allocations: 0.7125 MB / 0.7229 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.5298, allocations: 49.39 kB / 0.723 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.53, allocations: 43.42 kB / 0.723 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of SimCode: time 4.9e-07/0.53, allocations: 3.938 kB / 0.723 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/0.5704, allocations: 8.181 MB / 0.731 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.61, allocations: 6.172 kB / 0.731 GB, free: 4.395 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.827058378141373]