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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.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.2173/0.2173, allocations: 44.92 MB / 349.6 MB, free: 1.699 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 66.84 kB / 491.8 MB, free: 29.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 64.26 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.449/0.5747, allocations: 150 MB / 0.6895 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.5769, allocations: 1.601 MB / 0.6911 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.577, allocations: 0 / 0.6911 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.5774, allocations: 52.52 kB / 0.6911 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.5785, allocations: 412.1 kB / 0.6915 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.579, allocations: 169.6 kB / 0.6917 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.5793, allocations: 184.9 kB / 0.6918 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.5793, allocations: 2.094 kB / 0.6918 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.5795, allocations: 77.97 kB / 0.6919 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.5796, allocations: 63.28 kB / 0.692 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.5797, allocations: 5.656 kB / 0.692 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.5808, allocations: 0.6217 MB / 0.6926 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.5809, allocations: 28.03 kB / 0.6926 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.5809, allocations: 54.84 kB / 0.6927 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.5817, allocations: 404.5 kB / 0.693 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5817, allocations: 0 / 0.693 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5817, allocations: 4 kB / 0.6931 GB, free: 3.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.5817, allocations: 0 / 0.6931 GB, free: 3.359 MB / 494.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.0006733/0.5824, allocations: 432.4 kB / 0.6935 GB, free: 2.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5824, allocations: 9.656 kB / 0.6935 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.5824, allocations: 38.03 kB / 0.6935 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5845, allocations: 195.7 kB / 0.6937 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.5848, allocations: 208.2 kB / 0.6939 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5848, allocations: 6.875 kB / 0.6939 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.5849, allocations: 7.312 kB / 0.6939 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.5854, allocations: 206.5 kB / 0.6941 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5854, allocations: 0 / 0.6941 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.5854, allocations: 5.875 kB / 0.6941 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5854, allocations: 6.594 kB / 0.6941 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.586, allocations: 239.9 kB / 0.6943 GB, free: 2.289 MB / 494.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.0018/0.5878, allocations: 0.6598 MB / 0.695 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.5882, allocations: 180.8 kB / 0.6952 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.5884, allocations: 97.25 kB / 0.6953 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.5886, allocations: 88.47 kB / 0.6953 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5886, allocations: 37.28 kB / 0.6954 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5886, allocations: 0 / 0.6954 GB, free: 1.391 MB / 494.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.005547/0.5942, allocations: 1.531 MB / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.5942, allocations: 51.41 kB / 0.6969 GB, free: 244 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5943, allocations: 126.4 kB / 0.697 GB, free: 120 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.5944, allocations: 29.7 kB / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.5945, allocations: 95 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.5945, allocations: 71.3 kB / 0.6972 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.5946, allocations: 42.77 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.5948, allocations: 321.6 kB / 0.6976 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.595, allocations: 94.44 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.5952, allocations: 134.4 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.5956, allocations: 217.5 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5956, allocations: 0 / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005699/0.5962, allocations: 291.5 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5962, allocations: 9.734 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5962, allocations: 3.312 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.5964, allocations: 19.38 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.5968, allocations: 56.34 kB / 0.6984 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000412/0.5972, allocations: 0.5381 MB / 0.6989 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.5975, allocations: 6.844 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.5975, allocations: 15.77 kB / 0.6989 GB, free: 14.55 MB / 0.4981 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.0001615/0.5977, allocations: 122.8 kB / 0.699 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.5977, allocations: 13.17 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.5985, allocations: 316.6 kB / 0.6993 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5985, allocations: 5.75 kB / 0.6993 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5985, allocations: 4 kB / 0.6993 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5985, allocations: 0 / 0.6993 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5996, allocations: 0.6841 MB / 0.7 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5996, allocations: 0 / 0.7 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.6, allocations: 52.05 kB / 0.7001 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/0.6001, allocations: 24.78 kB / 0.7001 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6001, allocations: 8 kB / 0.7001 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.6011, allocations: 1.363 MB / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6011, allocations: 7.969 kB / 0.7014 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.602, allocations: 446.7 kB / 0.7019 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.6021, allocations: 93.08 kB / 0.702 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.6021, allocations: 4 kB / 0.702 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.6024, allocations: 8 kB / 0.702 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.6024, allocations: 23.97 kB / 0.702 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.6025, allocations: 12 kB / 0.702 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.6025, allocations: 87.27 kB / 0.7021 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6025, allocations: 3.938 kB / 0.7021 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005164/0.603, allocations: 135.7 kB / 0.7022 GB, free: 11.07 MB / 0.4981 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.001646/0.6047, allocations: 1.131 MB / 0.7033 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.6053, allocations: 231.6 kB / 0.7035 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6053, allocations: 4.188 kB / 0.7035 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.6057, allocations: 226.6 kB / 0.7038 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.6061, allocations: 42.36 kB / 0.7038 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.6092, allocations: 2.146 MB / 0.7059 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6096, allocations: 0.7085 MB / 0.7066 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00029/0.6099, allocations: 53.33 kB / 0.7066 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.61, allocations: 43.41 kB / 0.7067 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.61, allocations: 0 / 0.7067 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.6471, allocations: 7.998 MB / 0.7145 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.55, allocations: 2.109 kB / 0.7145 GB, free: 14.44 MB / 0.5137 GB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.616463107988238]