Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 212.3 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.4 MB / 258.7 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.93 MB / 362 MB, free: 4.242 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3203, allocations: 66.08 MB / 0.5623 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2136/0.5339, allocations: 175.7 MB / 0.7339 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3122/0.846, allocations: 5.319 MB / 0.7391 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.8468, allocations: 30.28 kB / 0.7391 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.8477, allocations: 323.9 kB / 0.7394 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.8509, allocations: 1.292 MB / 0.7407 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.8537, allocations: 0.9895 MB / 0.7417 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002795/0.8565, allocations: 1.875 MB / 0.7435 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.857, allocations: 396.4 kB / 0.7439 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.8592, allocations: 1.112 MB / 0.745 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.8601, allocations: 0.7084 MB / 0.7457 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.8602, allocations: 62.75 kB / 0.7457 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.8614, allocations: 0.5684 MB / 0.7463 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.8617, allocations: 270.4 kB / 0.7465 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.8621, allocations: 402.5 kB / 0.7469 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.8635, allocations: 1.3 MB / 0.7482 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8635, allocations: 0.9375 kB / 0.7482 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8635, allocations: 0 / 0.7482 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.8635, allocations: 1.922 kB / 0.7482 GB, free: 1.633 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.002037/0.8656, allocations: 1.05 MB / 0.7492 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.8656, allocations: 8.656 kB / 0.7492 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007543/0.8663, allocations: 136.7 kB / 0.7493 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.8672, allocations: 484.9 kB / 0.7498 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.8674, allocations: 157.8 kB / 0.75 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.8674, allocations: 48.25 kB / 0.75 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.8687, allocations: 1.144 MB / 0.7511 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.8687, allocations: 5.031 kB / 0.7511 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.8688, allocations: 23.86 kB / 0.7511 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.8688, allocations: 40.92 kB / 0.7512 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.8698, allocations: 0.621 MB / 0.7518 GB, free: 16.11 MB / 0.5762 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.00417/0.874, allocations: 3.876 MB / 0.7556 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.8745, allocations: 341.8 kB / 0.7559 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.8747, allocations: 161.4 kB / 0.7561 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.8748, allocations: 15.69 kB / 0.7561 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.8748, allocations: 37.5 kB / 0.7561 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.8748, allocations: 0 / 0.7561 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004973/0.8798, allocations: 1.604 MB / 0.7577 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.8799, allocations: 132.1 kB / 0.7578 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.8805, allocations: 0.617 MB / 0.7584 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.8805, allocations: 35.89 kB / 0.7584 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.8808, allocations: 375.8 kB / 0.7588 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.8808, allocations: 150.6 kB / 0.7589 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.881, allocations: 160.1 kB / 0.7591 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8812, allocations: 375.1 kB / 0.7595 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.8815, allocations: 205.5 kB / 0.7596 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.8821, allocations: 0.5899 MB / 0.7602 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.8831, allocations: 0.755 MB / 0.761 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8831, allocations: 0.875 kB / 0.761 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001266/0.8843, allocations: 0.8859 MB / 0.7618 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8843, allocations: 8.688 kB / 0.7618 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8844, allocations: 12.31 kB / 0.7618 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.8856, allocations: 314.8 kB / 0.7621 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.886, allocations: 124.2 kB / 0.7623 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.8871, allocations: 0.9384 MB / 0.7632 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.8875, allocations: 29.61 kB / 0.7632 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.8876, allocations: 67.16 kB / 0.7633 GB, free: 10.62 MB / 0.5762 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.000319/0.8879, allocations: 242.5 kB / 0.7635 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.8881, allocations: 69.39 kB / 0.7636 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.8896, allocations: 0.8622 MB / 0.7644 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.8896, allocations: 8.75 kB / 0.7644 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.8896, allocations: 0.9375 kB / 0.7644 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.8896, allocations: 6.578 kB / 0.7644 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.8915, allocations: 1.204 MB / 0.7656 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8915, allocations: 7.781 kB / 0.7656 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/0.8925, allocations: 206.9 kB / 0.7658 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.996e-05/0.8925, allocations: 22.02 kB / 0.7658 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.8926, allocations: 23.89 kB / 0.7659 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.8949, allocations: 2.671 MB / 0.7685 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8949, allocations: 5.938 kB / 0.7685 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.896, allocations: 0.822 MB / 0.7693 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.8963, allocations: 120 kB / 0.7694 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.8964, allocations: 5.219 kB / 0.7694 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.8968, allocations: 22.53 kB / 0.7694 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.8969, allocations: 38.95 kB / 0.7694 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.8969, allocations: 48.16 kB / 0.7695 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00047/0.8974, allocations: 438.3 kB / 0.7699 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8974, allocations: 0 / 0.7699 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008823/0.8983, allocations: 259.3 kB / 0.7702 GB, free: 7.145 MB / 0.5762 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.0006308/0.8989, allocations: 280.1 kB / 0.7704 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.8999, allocations: 0.5341 MB / 0.7709 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8999, allocations: 6.656 kB / 0.771 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.9008, allocations: 405.7 kB / 0.7713 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.9023, allocations: 377 kB / 0.7717 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.9045, allocations: 1.351 MB / 0.773 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.9051, allocations: 0.9296 MB / 0.7739 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009143/0.906, allocations: 457.9 kB / 0.7744 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.9063, allocations: 115.5 kB / 0.7745 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9063, allocations: 1.203 kB / 0.7745 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.02785/0.9341, allocations: 18.11 MB / 0.7922 GB, free: 1.34 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.176842879038304]