Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.001796/0.001796, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002262/0.002262, allocations: 170.8 kB / 23.77 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002871/0.002871, allocations: 67.91 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1443, allocations: 61.05 MB / 468.8 MB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4327/0.577, allocations: 129.5 MB / 0.5843 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.5785, allocations: 0.8783 MB / 0.5851 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.5786, allocations: 3.938 kB / 0.5851 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.5789, allocations: 27.83 kB / 0.5852 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.5796, allocations: 248.5 kB / 0.5854 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.58, allocations: 111.7 kB / 0.5855 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.5804, allocations: 175.2 kB / 0.5857 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.5804, allocations: 4 kB / 0.5857 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.5807, allocations: 87.69 kB / 0.5858 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5808, allocations: 51.77 kB / 0.5858 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.5808, allocations: 4 kB / 0.5858 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.5814, allocations: 251.7 kB / 0.5861 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.5815, allocations: 23.92 kB / 0.5861 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.5816, allocations: 43.84 kB / 0.5861 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.5821, allocations: 282.7 kB / 0.5864 GB, free: 5.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5821, allocations: 0 / 0.5864 GB, free: 5.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5821, allocations: 4 kB / 0.5864 GB, free: 5.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.5821, allocations: 0 / 0.5864 GB, free: 5.617 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006093/0.5827, allocations: 326.8 kB / 0.5867 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5827, allocations: 8.031 kB / 0.5867 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.585, allocations: 204.6 kB / 0.5869 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.5855, allocations: 154.5 kB / 0.5871 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.5855, allocations: 11.94 kB / 0.5871 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.5855, allocations: 10.84 kB / 0.5871 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.5862, allocations: 298.3 kB / 0.5874 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5862, allocations: 4 kB / 0.5874 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.5862, allocations: 4 kB / 0.5874 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5862, allocations: 4 kB / 0.5874 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.5867, allocations: 167.9 kB / 0.5875 GB, free: 4.367 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.001242/0.588, allocations: 0.5025 MB / 0.588 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.5883, allocations: 132.8 kB / 0.5882 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5885, allocations: 68.83 kB / 0.5882 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.5885, allocations: 0 / 0.5882 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.5886, allocations: 38.55 kB / 0.5883 GB, free: 3.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.5886, allocations: 7.875 kB / 0.5883 GB, free: 3.57 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.005948/0.5945, allocations: 1.156 MB / 0.5894 GB, free: 2.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5946, allocations: 57.47 kB / 0.5894 GB, free: 2.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5947, allocations: 113.8 kB / 0.5896 GB, free: 2.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.5948, allocations: 29.7 kB / 0.5896 GB, free: 2.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.5948, allocations: 100 kB / 0.5897 GB, free: 2.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.5949, allocations: 67.39 kB / 0.5897 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.595, allocations: 53.69 kB / 0.5898 GB, free: 1.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5952, allocations: 318.8 kB / 0.5901 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5954, allocations: 75.97 kB / 0.5902 GB, free: 1.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5956, allocations: 99.39 kB / 0.5903 GB, free: 1.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.596, allocations: 189.1 kB / 0.5904 GB, free: 1.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.596, allocations: 0 / 0.5904 GB, free: 1.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005369/0.5965, allocations: 256.5 kB / 0.5907 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5965, allocations: 12.09 kB / 0.5907 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5965, allocations: 1.5 kB / 0.5907 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.5967, allocations: 52.77 kB / 0.5908 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.5971, allocations: 47.97 kB / 0.5908 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/0.5976, allocations: 0.5718 MB / 0.5914 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.5978, allocations: 7.938 kB / 0.5914 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.5979, allocations: 27.98 kB / 0.5914 GB, free: 220 kB / 494.1 MB 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.0001697/0.598, allocations: 121.9 kB / 0.5915 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.5981, allocations: 11.95 kB / 0.5915 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/0.599, allocations: 342 kB / 0.5918 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.599, allocations: 2.25 kB / 0.5918 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.599, allocations: 7.938 kB / 0.5919 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.599, allocations: 3.984 kB / 0.5919 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.6003, allocations: 0.5427 MB / 0.5924 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.6003, allocations: 7.984 kB / 0.5924 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.6007, allocations: 63.89 kB / 0.5925 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.402e-05/0.6008, allocations: 20.78 kB / 0.5925 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.6008, allocations: 12 kB / 0.5925 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.6021, allocations: 1.242 MB / 0.5937 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.6021, allocations: 4.031 kB / 0.5937 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.603, allocations: 438.8 kB / 0.5941 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.603, allocations: 7.984 kB / 0.5941 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.6031, allocations: 11.94 kB / 0.5941 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.6033, allocations: 8 kB / 0.5941 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.6033, allocations: 26.02 kB / 0.5942 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.6034, allocations: 27.98 kB / 0.5942 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.104e-05/0.6035, allocations: 87.75 kB / 0.5943 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6035, allocations: 4 kB / 0.5943 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005388/0.604, allocations: 83.86 kB / 0.5944 GB, free: 12.98 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 (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.000444/0.6045, allocations: 152.3 kB / 0.5945 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.6051, allocations: 201 kB / 0.5947 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6051, allocations: 0 / 0.5947 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.6055, allocations: 214.5 kB / 0.5949 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.606, allocations: 57.61 kB / 0.595 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.6069, allocations: 484.8 kB / 0.5954 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.607, allocations: 94.09 kB / 0.5955 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.6073, allocations: 71.02 kB / 0.5956 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.6075, allocations: 56.47 kB / 0.5956 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6075, allocations: 0 / 0.5956 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01194/0.6194, allocations: 5.543 MB / 0.6011 GB, free: 6.105 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.735460991039872]