Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001273/0.001273, allocations: 123.1 kB / 18.46 MB, free: 4.578 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.00133/0.00133, allocations: 215.2 kB / 21.42 MB, free: 1.625 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.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2547/0.2547, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.89 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1574, allocations: 65.99 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5195/0.6769, allocations: 151 MB / 0.704 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009226/0.6861, allocations: 5.618 MB / 0.7095 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.687, allocations: 27.75 kB / 0.7095 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.6882, allocations: 329.9 kB / 0.7098 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.6908, allocations: 0.8784 MB / 0.7107 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.694, allocations: 1.016 MB / 0.7117 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.6965, allocations: 1.801 MB / 0.7134 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.6972, allocations: 413.4 kB / 0.7138 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.6987, allocations: 0.7825 MB / 0.7146 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.6998, allocations: 0.7553 MB / 0.7153 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.7, allocations: 60 kB / 0.7154 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.7013, allocations: 0.5732 MB / 0.7159 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.7016, allocations: 271.2 kB / 0.7162 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.702, allocations: 406.1 kB / 0.7166 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.7037, allocations: 1.172 MB / 0.7177 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7037, allocations: 4 kB / 0.7177 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7037, allocations: 4 kB / 0.7177 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.7037, allocations: 0 / 0.7177 GB, free: 12.07 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002483/0.7062, allocations: 1.063 MB / 0.7188 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7062, allocations: 8.031 kB / 0.7188 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.7066, allocations: 104.4 kB / 0.7189 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.7075, allocations: 0.5331 MB / 0.7194 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.7077, allocations: 104.9 kB / 0.7195 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.7078, allocations: 48.56 kB / 0.7195 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.7091, allocations: 0.8227 MB / 0.7203 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.7092, allocations: 4 kB / 0.7204 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.7092, allocations: 20 kB / 0.7204 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.7093, allocations: 40.98 kB / 0.7204 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.7104, allocations: 0.6595 MB / 0.7211 GB, free: 8.5 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.004799/0.7152, allocations: 3.944 MB / 0.7249 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.7161, allocations: 406.1 kB / 0.7253 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.7164, allocations: 197.2 kB / 0.7255 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.7171, allocations: 0.7365 MB / 0.7262 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.7171, allocations: 38.89 kB / 0.7262 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.7171, allocations: 0 / 0.7262 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003468/0.7206, allocations: 1.561 MB / 0.7278 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7207, allocations: 132.5 kB / 0.7279 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.7214, allocations: 0.5771 MB / 0.7285 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.7215, allocations: 37.7 kB / 0.7285 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.7218, allocations: 363.9 kB / 0.7288 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.7219, allocations: 166.6 kB / 0.729 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.7222, allocations: 138.6 kB / 0.7291 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.7223, allocations: 374.8 kB / 0.7295 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.7227, allocations: 213.9 kB / 0.7297 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.7234, allocations: 0.5162 MB / 0.7302 GB, free: 14.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7244, allocations: 0.7601 MB / 0.7309 GB, free: 13.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7244, allocations: 0 / 0.7309 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001714/0.7262, allocations: 0.9148 MB / 0.7318 GB, free: 12.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.7262, allocations: 11.94 kB / 0.7318 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.7262, allocations: 12 kB / 0.7318 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.7276, allocations: 280.9 kB / 0.7321 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.728, allocations: 127.1 kB / 0.7322 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.7291, allocations: 0.8862 MB / 0.7331 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.7295, allocations: 31.98 kB / 0.7331 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.7296, allocations: 36 kB / 0.7332 GB, free: 11.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003645/0.73, allocations: 255.5 kB / 0.7334 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.7301, allocations: 67.64 kB / 0.7335 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.7315, allocations: 0.7686 MB / 0.7342 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7315, allocations: 4 kB / 0.7342 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7315, allocations: 0 / 0.7342 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7315, allocations: 7.984 kB / 0.7342 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.7336, allocations: 1.409 MB / 0.7356 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7336, allocations: 4.031 kB / 0.7356 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7347, allocations: 203.7 kB / 0.7358 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.033e-05/0.7348, allocations: 24.84 kB / 0.7358 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.7348, allocations: 12 kB / 0.7358 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.7372, allocations: 2.878 MB / 0.7387 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7372, allocations: 4.094 kB / 0.7387 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.7387, allocations: 1.021 MB / 0.7397 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.739, allocations: 204.5 kB / 0.7399 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.7391, allocations: 13.12 kB / 0.7399 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.7395, allocations: 19.98 kB / 0.7399 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.7396, allocations: 39.83 kB / 0.7399 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.7396, allocations: 19.98 kB / 0.7399 GB, free: 3.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005527/0.7402, allocations: 439.1 kB / 0.7404 GB, free: 3.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7402, allocations: 0 / 0.7404 GB, free: 3.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008671/0.741, allocations: 223.8 kB / 0.7406 GB, free: 3.105 MB / 0.545 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004975/0.7415, allocations: 242.1 kB / 0.7408 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.7428, allocations: 0.5744 MB / 0.7414 GB, free: 2.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7428, allocations: 0 / 0.7414 GB, free: 2.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7439, allocations: 432.3 kB / 0.7418 GB, free: 1.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.7456, allocations: 379.5 kB / 0.7421 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.748, allocations: 1.437 MB / 0.7435 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.7486, allocations: 0.9384 MB / 0.7445 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.7488, allocations: 67.42 kB / 0.7445 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.7488, allocations: 0 / 0.7445 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.02402/0.7728, allocations: 16 MB / 0.7601 GB, free: 15.05 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 11.121247109986143]