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.0007705/0.0007705, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003001/0.003001, allocations: 159.8 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8463/0.8463, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2575/0.2575, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 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 1.302e-06/1.302e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.266e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3241/0.3241, allocations: 153.8 MB / 0.5833 GB, free: 6.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.3292, allocations: 4.917 MB / 0.5881 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.3296, allocations: 31.69 kB / 0.5881 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.3302, allocations: 305.9 kB / 0.5884 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3323, allocations: 1.315 MB / 0.5897 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3337, allocations: 1.015 MB / 0.5907 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.335, allocations: 1.875 MB / 0.5925 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.3354, allocations: 400.4 kB / 0.5929 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3373, allocations: 1.343 MB / 0.5942 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.3379, allocations: 0.6467 MB / 0.5948 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.338, allocations: 60 kB / 0.5949 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.3388, allocations: 0.5615 MB / 0.5954 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.339, allocations: 286.6 kB / 0.5957 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3392, allocations: 279.4 kB / 0.596 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.3404, allocations: 1.391 MB / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3404, allocations: 0 / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3404, allocations: 0 / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3404, allocations: 0 / 0.5973 GB, free: 8.008 MB / 0.4948 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.001439/0.3418, allocations: 1.034 MB / 0.5983 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3419, allocations: 12.03 kB / 0.5983 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.3423, allocations: 139.5 kB / 0.5985 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.3429, allocations: 485.3 kB / 0.5989 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.343, allocations: 151.8 kB / 0.5991 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.3431, allocations: 51.98 kB / 0.5991 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3444, allocations: 1.144 MB / 0.6003 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.3444, allocations: 3.938 kB / 0.6003 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.3445, allocations: 24 kB / 0.6003 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.3445, allocations: 36.98 kB / 0.6003 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.3452, allocations: 0.6166 MB / 0.6009 GB, free: 4.082 MB / 0.4948 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.002493/0.3477, allocations: 3.227 MB / 0.6041 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.3481, allocations: 346.2 kB / 0.6044 GB, free: 420 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3482, allocations: 160.2 kB / 0.6046 GB, free: 260 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.3483, allocations: 16.27 kB / 0.6046 GB, free: 244 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3483, allocations: 38.84 kB / 0.6046 GB, free: 196 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.343e-06/0.3483, allocations: 0 / 0.6046 GB, free: 196 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002943/0.3513, allocations: 1.59 MB / 0.6062 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3513, allocations: 132.5 kB / 0.6063 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.3517, allocations: 0.5338 MB / 0.6068 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3518, allocations: 37.7 kB / 0.6068 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.3522, allocations: 380.2 kB / 0.6072 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.3523, allocations: 146.7 kB / 0.6073 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3524, allocations: 158.6 kB / 0.6075 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3525, allocations: 370.7 kB / 0.6079 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3528, allocations: 205.9 kB / 0.608 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3531, allocations: 0.5891 MB / 0.6086 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.3537, allocations: 0.7508 MB / 0.6094 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3537, allocations: 4 kB / 0.6094 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008821/0.3546, allocations: 0.8795 MB / 0.6102 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3546, allocations: 8 kB / 0.6102 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3547, allocations: 12.88 kB / 0.6102 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/0.3554, allocations: 315.9 kB / 0.6105 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3556, allocations: 127.8 kB / 0.6107 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/0.3563, allocations: 0.9309 MB / 0.6116 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3566, allocations: 23.98 kB / 0.6116 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.3566, allocations: 68 kB / 0.6117 GB, free: 8.516 MB / 0.5105 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.0002214/0.3568, allocations: 247.7 kB / 0.6119 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.3569, allocations: 71.58 kB / 0.612 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.3579, allocations: 0.8518 MB / 0.6128 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3579, allocations: 4 kB / 0.6128 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3579, allocations: 0 / 0.6128 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3579, allocations: 0 / 0.6128 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.359, allocations: 1.091 MB / 0.6139 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.359, allocations: 0 / 0.6139 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.3595, allocations: 211.8 kB / 0.6141 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.889e-05/0.3596, allocations: 28.78 kB / 0.6141 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3596, allocations: 23.94 kB / 0.6141 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.3609, allocations: 2.616 MB / 0.6167 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3609, allocations: 6.75 kB / 0.6167 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.3616, allocations: 0.807 MB / 0.6175 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3618, allocations: 107.6 kB / 0.6176 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.3618, allocations: 11.94 kB / 0.6176 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.362, allocations: 16 kB / 0.6176 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.3621, allocations: 43.88 kB / 0.6176 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3621, allocations: 39.98 kB / 0.6177 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002594/0.3624, allocations: 362.8 kB / 0.618 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3624, allocations: 0 / 0.618 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005414/0.3629, allocations: 251.8 kB / 0.6183 GB, free: 1.445 MB / 0.5105 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.000469/0.3634, allocations: 301.8 kB / 0.6185 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3641, allocations: 0.5274 MB / 0.6191 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3641, allocations: 3.953 kB / 0.6191 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.3646, allocations: 402.8 kB / 0.6195 GB, free: 212 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.3654, allocations: 301.7 kB / 0.6197 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3669, allocations: 1.296 MB / 0.621 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3671, allocations: 332.3 kB / 0.6213 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.3673, allocations: 120.4 kB / 0.6214 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.3673, allocations: 0 / 0.6214 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.1912/0.5586, allocations: 16.11 MB / 0.6372 GB, free: 165.3 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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: 7.099143133498728]