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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001463/0.001463, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2246/0.2246, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.001981/0.001981, allocations: 60.14 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 66.04 MB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1671/0.4795, allocations: 131.5 MB / 0.689 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.4814, allocations: 1.433 MB / 0.6904 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.4815, allocations: 4 kB / 0.6904 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.4818, allocations: 47.73 kB / 0.6905 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009418/0.4827, allocations: 419.8 kB / 0.6909 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.4831, allocations: 171.2 kB / 0.691 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.4834, allocations: 183.3 kB / 0.6912 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.4834, allocations: 7.938 kB / 0.6912 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4836, allocations: 87.61 kB / 0.6913 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.4837, allocations: 55.83 kB / 0.6913 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.4837, allocations: 8 kB / 0.6913 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4847, allocations: 0.5573 MB / 0.6919 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.4848, allocations: 39.83 kB / 0.6919 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.4849, allocations: 39.86 kB / 0.692 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.4855, allocations: 406.9 kB / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4855, allocations: 0 / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4855, allocations: 3.938 kB / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4855, allocations: 0 / 0.6924 GB, free: 12.64 MB / 0.5294 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.0005316/0.486, allocations: 361.7 kB / 0.6927 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.486, allocations: 16.02 kB / 0.6927 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.4861, allocations: 38.75 kB / 0.6928 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.4883, allocations: 196.6 kB / 0.6929 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.4886, allocations: 157.8 kB / 0.6931 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4886, allocations: 8 kB / 0.6931 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.4886, allocations: 8 kB / 0.6931 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.4892, allocations: 282.5 kB / 0.6934 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4892, allocations: 4 kB / 0.6934 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.4892, allocations: 7.938 kB / 0.6934 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4892, allocations: 4 kB / 0.6934 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.4898, allocations: 227.9 kB / 0.6936 GB, free: 11.27 MB / 0.5294 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.001699/0.4915, allocations: 0.559 MB / 0.6942 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.492, allocations: 194.4 kB / 0.6943 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.4922, allocations: 88.81 kB / 0.6944 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4923, allocations: 8 kB / 0.6944 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4923, allocations: 38.56 kB / 0.6945 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4923, allocations: 0 / 0.6945 GB, free: 10.32 MB / 0.5294 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.005931/0.4983, allocations: 1.396 MB / 0.6958 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.4983, allocations: 51.41 kB / 0.6959 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.4984, allocations: 109.8 kB / 0.696 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.4984, allocations: 29.7 kB / 0.696 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.4985, allocations: 108.3 kB / 0.6961 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.4986, allocations: 67.42 kB / 0.6962 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4987, allocations: 45.66 kB / 0.6962 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4988, allocations: 322.8 kB / 0.6965 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.499, allocations: 91.95 kB / 0.6966 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.4993, allocations: 128.9 kB / 0.6967 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.4997, allocations: 228.6 kB / 0.697 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4997, allocations: 0 / 0.697 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006645/0.5004, allocations: 280.5 kB / 0.6972 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.5004, allocations: 4 kB / 0.6972 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5004, allocations: 4 kB / 0.6972 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.5006, allocations: 28.84 kB / 0.6973 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.501, allocations: 59.98 kB / 0.6973 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/0.5014, allocations: 0.5329 MB / 0.6978 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.5017, allocations: 11.98 kB / 0.6979 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.5017, allocations: 8 kB / 0.6979 GB, free: 6.664 MB / 0.5294 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.0001355/0.5019, allocations: 121.8 kB / 0.698 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.5019, allocations: 7.953 kB / 0.698 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.5027, allocations: 321.8 kB / 0.6983 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5027, allocations: 4 kB / 0.6983 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5027, allocations: 0 / 0.6983 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5027, allocations: 7.969 kB / 0.6983 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5039, allocations: 0.6229 MB / 0.6989 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5039, allocations: 3.938 kB / 0.6989 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.5044, allocations: 51.95 kB / 0.699 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.5044, allocations: 16.84 kB / 0.699 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.5045, allocations: 8 kB / 0.699 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009621/0.5054, allocations: 1.267 MB / 0.7002 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5054, allocations: 0 / 0.7002 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.5063, allocations: 458.6 kB / 0.7007 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.5063, allocations: 7.953 kB / 0.7007 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.5064, allocations: 4.219 kB / 0.7007 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.5067, allocations: 15.98 kB / 0.7007 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5068, allocations: 19.91 kB / 0.7007 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.5068, allocations: 8 kB / 0.7007 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.5068, allocations: 91.27 kB / 0.7008 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5068, allocations: 0 / 0.7008 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005303/0.5074, allocations: 143.5 kB / 0.7009 GB, free: 3.285 MB / 0.5294 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.001775/0.5092, allocations: 1.127 MB / 0.702 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006304/0.5098, allocations: 242.9 kB / 0.7023 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5098, allocations: 0 / 0.7023 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.5102, allocations: 230.6 kB / 0.7025 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.5106, allocations: 40.34 kB / 0.7025 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.5138, allocations: 2.131 MB / 0.7046 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.734e-05/0.5139, allocations: 101.8 kB / 0.7047 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002859/0.5141, allocations: 53.77 kB / 0.7048 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5143, allocations: 43.41 kB / 0.7048 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5143, allocations: 0 / 0.7048 GB, free: 15.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.5651, allocations: 8.751 MB / 0.7134 GB, free: 6.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.02, allocations: 4.062 kB / 0.7134 GB, free: 6.527 MB / 0.545 GB " [Timeout remaining time 647] (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: 15.89544609101722]