Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001846/0.001846, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002413/0.002413, allocations: 216.9 kB / 22.99 MB, free: 4.973 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.605/1.605, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.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.2656/0.2656, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [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.002281/0.002281, allocations: 71.89 kB / 468 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 61.04 MB / 0.5167 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4561/0.5782, allocations: 155.7 MB / 0.6687 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.5918, allocations: 7.529 MB / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5928, allocations: 27.75 kB / 0.6761 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.5943, allocations: 302 kB / 0.6763 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.5993, allocations: 1.525 MB / 0.6778 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.6031, allocations: 1.167 MB / 0.679 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.6063, allocations: 1.872 MB / 0.6808 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.6073, allocations: 393.6 kB / 0.6812 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.611, allocations: 1.265 MB / 0.6824 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.6126, allocations: 0.6812 MB / 0.6831 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.6129, allocations: 60 kB / 0.6831 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.6152, allocations: 0.7489 MB / 0.6839 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.6157, allocations: 271.1 kB / 0.6841 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.6166, allocations: 338.6 kB / 0.6845 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.6195, allocations: 1.421 MB / 0.6858 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6195, allocations: 0 / 0.6858 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6195, allocations: 0 / 0.6858 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.745e-05/0.6195, allocations: 0 / 0.6858 GB, free: 4.625 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003057/0.6226, allocations: 1.076 MB / 0.6869 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6226, allocations: 8.031 kB / 0.6869 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.6237, allocations: 143.4 kB / 0.687 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.6249, allocations: 481.3 kB / 0.6875 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.6251, allocations: 167.8 kB / 0.6877 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6252, allocations: 47.98 kB / 0.6877 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.6271, allocations: 1.161 MB / 0.6888 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.6271, allocations: 7.938 kB / 0.6888 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.707e-05/0.6272, allocations: 23.98 kB / 0.6889 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.254e-05/0.6273, allocations: 40.98 kB / 0.6889 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.6286, allocations: 0.6088 MB / 0.6895 GB, free: 0.6289 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.005095/0.6337, allocations: 3.25 MB / 0.6927 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.6343, allocations: 339.6 kB / 0.693 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.6346, allocations: 161.3 kB / 0.6931 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.635, allocations: 122.1 kB / 0.6933 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.6351, allocations: 38.84 kB / 0.6933 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 4.679e-06/0.6351, allocations: 3.984 kB / 0.6933 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006034/0.6411, allocations: 1.598 MB / 0.6949 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.6412, allocations: 132.5 kB / 0.695 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/0.642, allocations: 0.5338 MB / 0.6955 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.6421, allocations: 29.7 kB / 0.6955 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.6425, allocations: 388.2 kB / 0.6959 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.6427, allocations: 146.8 kB / 0.6961 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.643, allocations: 162.6 kB / 0.6962 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.6432, allocations: 370.7 kB / 0.6966 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.6436, allocations: 197.9 kB / 0.6968 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/0.6444, allocations: 0.5956 MB / 0.6973 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6456, allocations: 0.7483 MB / 0.6981 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6457, allocations: 0 / 0.6981 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001631/0.6473, allocations: 0.8722 MB / 0.6989 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6473, allocations: 8 kB / 0.6989 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/0.6473, allocations: 12 kB / 0.6989 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.6488, allocations: 306.1 kB / 0.6992 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.6492, allocations: 127.8 kB / 0.6993 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.6506, allocations: 0.9387 MB / 0.7003 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.6511, allocations: 24 kB / 0.7003 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.6513, allocations: 67.98 kB / 0.7004 GB, free: 4.918 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004424/0.6517, allocations: 249.6 kB / 0.7006 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6519, allocations: 71.52 kB / 0.7007 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.6535, allocations: 0.6709 MB / 0.7013 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.6535, allocations: 4 kB / 0.7013 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6535, allocations: 0 / 0.7013 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6536, allocations: 0 / 0.7013 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.656, allocations: 1.168 MB / 0.7025 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.656, allocations: 4.125 kB / 0.7025 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6571, allocations: 211.8 kB / 0.7027 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.6572, allocations: 24.78 kB / 0.7027 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.6573, allocations: 27.88 kB / 0.7027 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.6597, allocations: 2.62 MB / 0.7053 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6597, allocations: 0 / 0.7053 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.6611, allocations: 0.8053 MB / 0.7061 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.6614, allocations: 103.9 kB / 0.7062 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6615, allocations: 19.94 kB / 0.7062 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.6619, allocations: 15.98 kB / 0.7062 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.662, allocations: 39.89 kB / 0.7062 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.6621, allocations: 45.09 kB / 0.7063 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004961/0.6626, allocations: 362.8 kB / 0.7066 GB, free: 14.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6626, allocations: 0 / 0.7066 GB, free: 14.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001133/0.6637, allocations: 295.7 kB / 0.7069 GB, free: 13.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.00119/0.6649, allocations: 373.4 kB / 0.7073 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.6662, allocations: 0.5308 MB / 0.7078 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6662, allocations: 0 / 0.7078 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.6673, allocations: 399.4 kB / 0.7082 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6689, allocations: 304.8 kB / 0.7084 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.6716, allocations: 1.315 MB / 0.7097 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.6721, allocations: 332.2 kB / 0.71 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008818/0.673, allocations: 249.3 kB / 0.7103 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.6733, allocations: 99.34 kB / 0.7104 GB, free: 10.25 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.6733, allocations: 0 / 0.7104 GB, free: 10.25 MB / 0.545 GB Notification: Performance of Templates: time 0.03329/0.7066, allocations: 17.64 MB / 0.7276 GB, free: 8.645 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 6.391036996617913]