Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001676/0.001676, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002021/0.002021, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2248/0.2248, allocations: 46.97 MB / 361.6 MB, free: 4.02 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 0.4973 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 66.05 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2737/0.6105, allocations: 153.9 MB / 0.7121 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007822/0.6183, allocations: 4.922 MB / 0.7169 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.6188, allocations: 31.69 kB / 0.7169 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.6197, allocations: 310 kB / 0.7172 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.6231, allocations: 1.297 MB / 0.7185 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.6256, allocations: 0.9772 MB / 0.7194 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.628, allocations: 1.879 MB / 0.7213 GB, free: 268 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.6287, allocations: 389.7 kB / 0.7217 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.631, allocations: 1.125 MB / 0.7228 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.632, allocations: 0.7007 MB / 0.7234 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.6321, allocations: 64 kB / 0.7235 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.6334, allocations: 0.5657 MB / 0.724 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.6337, allocations: 267.2 kB / 0.7243 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.6341, allocations: 330.6 kB / 0.7246 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.6358, allocations: 1.308 MB / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.6358, allocations: 3.938 kB / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6358, allocations: 0 / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.6358, allocations: 3.938 kB / 0.7259 GB, free: 11.51 MB / 0.5606 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.002357/0.6382, allocations: 1.045 MB / 0.7269 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6382, allocations: 12.03 kB / 0.7269 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.6391, allocations: 143.4 kB / 0.7271 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.64, allocations: 473.4 kB / 0.7275 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.6402, allocations: 159.8 kB / 0.7277 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6403, allocations: 48 kB / 0.7277 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.6419, allocations: 1.144 MB / 0.7288 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6419, allocations: 3.938 kB / 0.7288 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.642, allocations: 24 kB / 0.7289 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.642, allocations: 40.92 kB / 0.7289 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6432, allocations: 0.6204 MB / 0.7295 GB, free: 7.574 MB / 0.5606 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.004559/0.6477, allocations: 3.212 MB / 0.7326 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.6484, allocations: 339.6 kB / 0.733 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.6486, allocations: 161.3 kB / 0.7331 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.6487, allocations: 12.27 kB / 0.7331 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.6488, allocations: 42.84 kB / 0.7332 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.807e-06/0.6488, allocations: 3.984 kB / 0.7332 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005938/0.6547, allocations: 1.594 MB / 0.7347 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.6548, allocations: 136.5 kB / 0.7349 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.6555, allocations: 0.5338 MB / 0.7354 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.6555, allocations: 37.7 kB / 0.7354 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.6558, allocations: 384.2 kB / 0.7358 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.656, allocations: 146.7 kB / 0.7359 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.6562, allocations: 162.6 kB / 0.7361 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6564, allocations: 374.7 kB / 0.7364 GB, free: 220 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.6568, allocations: 201.9 kB / 0.7366 GB, free: 16 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2315/0.8883, allocations: 0.5855 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.8894, allocations: 0.7536 MB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.8894, allocations: 3.125 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001942/0.8914, allocations: 0.8662 MB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.8914, allocations: 10.38 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.8914, allocations: 13.91 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.8929, allocations: 310.3 kB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.8933, allocations: 125.3 kB / 0.7392 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/0.8943, allocations: 0.9354 MB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.8948, allocations: 27.56 kB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.8948, allocations: 64.67 kB / 0.7402 GB, free: 173.5 MB / 0.5606 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.0003026/0.8951, allocations: 253.8 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8953, allocations: 60.23 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.8967, allocations: 0.8584 MB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.8967, allocations: 4.844 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8967, allocations: 7.125 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.8967, allocations: 2.25 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.8984, allocations: 1.084 MB / 0.7424 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8984, allocations: 1.906 kB / 0.7424 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.8995, allocations: 212.5 kB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.8995, allocations: 25.22 kB / 0.7427 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.8996, allocations: 23.88 kB / 0.7427 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.9008, allocations: 2.626 MB / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9008, allocations: 5.812 kB / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.9018, allocations: 0.8176 MB / 0.7461 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.902, allocations: 102.7 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.9021, allocations: 15.94 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.9025, allocations: 19.56 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.9026, allocations: 41.91 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.9027, allocations: 43.03 kB / 0.7463 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000317/0.903, allocations: 359.4 kB / 0.7466 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.903, allocations: 2.625 kB / 0.7466 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008682/0.9038, allocations: 253.5 kB / 0.7469 GB, free: 168.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0005728/0.9044, allocations: 278.1 kB / 0.7471 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009844/0.9054, allocations: 0.5272 MB / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9054, allocations: 0 / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009106/0.9063, allocations: 412.6 kB / 0.748 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.9076, allocations: 303.3 kB / 0.7483 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.9092, allocations: 1.34 MB / 0.7496 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.9095, allocations: 340 kB / 0.75 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007667/0.9102, allocations: 451.9 kB / 0.7504 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.9105, allocations: 107.4 kB / 0.7505 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.9105, allocations: 0 / 0.7505 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02003/0.9305, allocations: 16.93 MB / 0.767 GB, free: 148 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.0735229720012285]