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.001724/0.001724, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002487/0.002487, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.46/1.46, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2393/0.2393, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002204/0.002204, allocations: 63.91 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1308, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4536/0.5845, allocations: 152.9 MB / 0.7047 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.5868, allocations: 1.602 MB / 0.7062 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.5869, allocations: 0 / 0.7062 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.5872, allocations: 51.72 kB / 0.7063 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009946/0.5882, allocations: 410 kB / 0.7067 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.5888, allocations: 175.8 kB / 0.7068 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.5891, allocations: 183.3 kB / 0.707 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.5891, allocations: 4 kB / 0.707 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.5893, allocations: 83.62 kB / 0.7071 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.5894, allocations: 63.75 kB / 0.7072 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.5895, allocations: 4 kB / 0.7072 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5907, allocations: 0.6236 MB / 0.7078 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.5908, allocations: 35.84 kB / 0.7078 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.5909, allocations: 43.8 kB / 0.7079 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.5916, allocations: 406.4 kB / 0.7082 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5916, allocations: 3.984 kB / 0.7082 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5916, allocations: 0 / 0.7082 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5916, allocations: 0 / 0.7082 GB, free: 5.066 MB / 0.5137 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.0006663/0.5923, allocations: 438.8 kB / 0.7087 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.5923, allocations: 12.03 kB / 0.7087 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.5924, allocations: 42.73 kB / 0.7087 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.5948, allocations: 200.7 kB / 0.7089 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.5951, allocations: 219.9 kB / 0.7091 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5951, allocations: 4 kB / 0.7091 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.5951, allocations: 12 kB / 0.7091 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.5957, allocations: 201.5 kB / 0.7093 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5957, allocations: 0 / 0.7093 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5957, allocations: 8 kB / 0.7093 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5957, allocations: 3.938 kB / 0.7093 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.5963, allocations: 231.9 kB / 0.7096 GB, free: 3.625 MB / 0.5137 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.001836/0.5982, allocations: 0.6774 MB / 0.7102 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.5987, allocations: 178.5 kB / 0.7104 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.5989, allocations: 88.81 kB / 0.7105 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.599, allocations: 89.09 kB / 0.7106 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5991, allocations: 42.56 kB / 0.7106 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.5991, allocations: 0 / 0.7106 GB, free: 2.465 MB / 0.5137 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.006107/0.6052, allocations: 1.537 MB / 0.7121 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.6052, allocations: 55.41 kB / 0.7122 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.6053, allocations: 113.8 kB / 0.7123 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.6054, allocations: 29.69 kB / 0.7123 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.6054, allocations: 100.4 kB / 0.7124 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.6055, allocations: 67.42 kB / 0.7125 GB, free: 436 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6056, allocations: 45.7 kB / 0.7125 GB, free: 384 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6057, allocations: 322.8 kB / 0.7128 GB, free: 52 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.606, allocations: 92.03 kB / 0.7129 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.6062, allocations: 122.8 kB / 0.713 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.6068, allocations: 230.2 kB / 0.7132 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6068, allocations: 4 kB / 0.7132 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006488/0.6074, allocations: 274.3 kB / 0.7135 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.6074, allocations: 12.09 kB / 0.7135 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6074, allocations: 3.984 kB / 0.7135 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.6076, allocations: 28.78 kB / 0.7135 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.6081, allocations: 47.97 kB / 0.7136 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004198/0.6085, allocations: 0.5367 MB / 0.7141 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.6088, allocations: 16.81 kB / 0.7141 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6088, allocations: 11.98 kB / 0.7141 GB, free: 14.63 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.0001379/0.6089, allocations: 120 kB / 0.7142 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.609, allocations: 11.95 kB / 0.7143 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.6098, allocations: 316.7 kB / 0.7146 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6098, allocations: 7.938 kB / 0.7146 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6098, allocations: 0 / 0.7146 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6098, allocations: 0 / 0.7146 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.611, allocations: 0.6745 MB / 0.7152 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.611, allocations: 4 kB / 0.7152 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.6115, allocations: 51.89 kB / 0.7153 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.53e-05/0.6116, allocations: 20.84 kB / 0.7153 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.6116, allocations: 9.188 kB / 0.7153 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.6127, allocations: 1.372 MB / 0.7167 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6127, allocations: 4.812 kB / 0.7167 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.6136, allocations: 459.6 kB / 0.7171 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.6137, allocations: 89.08 kB / 0.7172 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.6137, allocations: 0 / 0.7172 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.614, allocations: 12 kB / 0.7172 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.6141, allocations: 19.97 kB / 0.7172 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6141, allocations: 4 kB / 0.7172 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.6142, allocations: 95.25 kB / 0.7173 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6142, allocations: 0 / 0.7173 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000575/0.6148, allocations: 139.7 kB / 0.7174 GB, free: 10.97 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.001763/0.6165, allocations: 1.147 MB / 0.7186 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006547/0.6172, allocations: 230.6 kB / 0.7188 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6172, allocations: 0 / 0.7188 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.6176, allocations: 222.6 kB / 0.719 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.618, allocations: 46.31 kB / 0.719 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.6212, allocations: 2.133 MB / 0.7211 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.6216, allocations: 0.7124 MB / 0.7218 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.6218, allocations: 57.7 kB / 0.7219 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.622, allocations: 47.41 kB / 0.7219 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.622, allocations: 0 / 0.7219 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.6597, allocations: 7.989 MB / 0.7297 GB, free: 14.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.36, allocations: 14.92 kB / 0.7297 GB, free: 14.32 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: 16.677983588073403]