Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 204.9 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.95 MB / 360.8 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 75.88 kB / 0.4961 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3251, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1684/0.4935, allocations: 131.3 MB / 0.6889 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.495, allocations: 0.9461 MB / 0.6899 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.4951, allocations: 0 / 0.6899 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.4954, allocations: 39.77 kB / 0.6899 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.4961, allocations: 276.4 kB / 0.6902 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.4965, allocations: 111.2 kB / 0.6903 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.4967, allocations: 187.2 kB / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.4968, allocations: 4 kB / 0.6905 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.497, allocations: 95.61 kB / 0.6906 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.4971, allocations: 55.77 kB / 0.6906 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4971, allocations: 8 kB / 0.6906 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.4976, allocations: 259.7 kB / 0.6909 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.4977, allocations: 19.97 kB / 0.6909 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.4978, allocations: 43.8 kB / 0.6909 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.4982, allocations: 287.2 kB / 0.6912 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4983, allocations: 0 / 0.6912 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4983, allocations: 0 / 0.6912 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4983, allocations: 0 / 0.6912 GB, free: 13.85 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005347/0.4988, allocations: 337.8 kB / 0.6915 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4988, allocations: 12.03 kB / 0.6915 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.4989, allocations: 50.73 kB / 0.6916 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.501, allocations: 192.6 kB / 0.6918 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.5014, allocations: 157.6 kB / 0.6919 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5014, allocations: 4 kB / 0.6919 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.5015, allocations: 8 kB / 0.6919 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.502, allocations: 303.9 kB / 0.6922 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.502, allocations: 3.984 kB / 0.6922 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.5021, allocations: 4 kB / 0.6922 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5021, allocations: 0 / 0.6922 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.5026, allocations: 179.8 kB / 0.6924 GB, free: 12.53 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.00119/0.5037, allocations: 0.5356 MB / 0.6929 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.5041, allocations: 138.5 kB / 0.693 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.5042, allocations: 64.83 kB / 0.6931 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.5043, allocations: 256 / 0.6931 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5043, allocations: 34.56 kB / 0.6931 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.5043, allocations: 0 / 0.6931 GB, free: 11.69 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.005451/0.5098, allocations: 1.162 MB / 0.6943 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5098, allocations: 55.41 kB / 0.6943 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5099, allocations: 113.8 kB / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.51, allocations: 29.7 kB / 0.6945 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.51, allocations: 104 kB / 0.6946 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.5101, allocations: 71.38 kB / 0.6946 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.5102, allocations: 57.62 kB / 0.6947 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5104, allocations: 322.8 kB / 0.695 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.5106, allocations: 71.97 kB / 0.6951 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.5108, allocations: 107.2 kB / 0.6952 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.5111, allocations: 183.3 kB / 0.6953 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5111, allocations: 0 / 0.6953 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005116/0.5116, allocations: 253.9 kB / 0.6956 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5117, allocations: 8 kB / 0.6956 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5117, allocations: 0 / 0.6956 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.5118, allocations: 52.92 kB / 0.6956 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.5122, allocations: 55.89 kB / 0.6957 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004794/0.5126, allocations: 0.568 MB / 0.6962 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.5128, allocations: 7.938 kB / 0.6963 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.5129, allocations: 27.94 kB / 0.6963 GB, free: 8.305 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.0001333/0.513, allocations: 121.8 kB / 0.6964 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.5131, allocations: 15.94 kB / 0.6964 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.5138, allocations: 350.9 kB / 0.6968 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.5138, allocations: 0 / 0.6968 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5138, allocations: 4 kB / 0.6968 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5138, allocations: 3.984 kB / 0.6968 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5149, allocations: 0.5636 MB / 0.6973 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5149, allocations: 8 kB / 0.6973 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.5152, allocations: 68.03 kB / 0.6974 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.427e-05/0.5153, allocations: 20.78 kB / 0.6974 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.5154, allocations: 15.98 kB / 0.6974 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.5164, allocations: 1.252 MB / 0.6986 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5164, allocations: 4.031 kB / 0.6986 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.5171, allocations: 433.4 kB / 0.6991 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.5171, allocations: 11.98 kB / 0.6991 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.5172, allocations: 11.92 kB / 0.6991 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5174, allocations: 8 kB / 0.6991 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.5174, allocations: 19.97 kB / 0.6991 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.5175, allocations: 31.98 kB / 0.6991 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.268e-05/0.5175, allocations: 91.2 kB / 0.6992 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5175, allocations: 0 / 0.6992 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004161/0.518, allocations: 75.94 kB / 0.6993 GB, free: 5.004 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 (21): * Single equations (assignments): 20 * 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.001347/0.5193, allocations: 1.015 MB / 0.7003 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.5198, allocations: 195.7 kB / 0.7005 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5198, allocations: 0 / 0.7005 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.5202, allocations: 218.5 kB / 0.7007 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.5207, allocations: 56.8 kB / 0.7007 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.5237, allocations: 2.085 MB / 0.7028 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.5238, allocations: 97.97 kB / 0.7029 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.5241, allocations: 69.39 kB / 0.7029 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.5243, allocations: 71.41 kB / 0.703 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.5243, allocations: 0 / 0.703 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.5647, allocations: 7.87 MB / 0.7107 GB, free: 9.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.19, allocations: 256 / 0.7107 GB, free: 9.262 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.166384757030755]