Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.005755/0.005755, allocations: 106.4 kB / 21.98 MB, free: 5.223 MB / 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.001457/0.001457, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.457/1.457, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2307/0.2307, allocations: 46.94 MB / 362.3 MB, free: 4.18 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.IdealGases.Air,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.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [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.002351/0.002351, allocations: 75.88 kB / 0.4982 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3639, allocations: 66.09 MB / 0.5627 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2306/0.5945, allocations: 178.1 MB / 0.7367 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3863/0.9808, allocations: 5.366 MB / 0.7419 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.9816, allocations: 31.47 kB / 0.7419 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.9826, allocations: 317.2 kB / 0.7422 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.9863, allocations: 1.287 MB / 0.7435 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.9889, allocations: 0.9921 MB / 0.7445 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.9915, allocations: 1.877 MB / 0.7463 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.9922, allocations: 400.6 kB / 0.7467 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.9946, allocations: 1.114 MB / 0.7478 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.9957, allocations: 0.7099 MB / 0.7485 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.9958, allocations: 61.12 kB / 0.7485 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.9973, allocations: 0.6384 MB / 0.7491 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.9976, allocations: 272.8 kB / 0.7494 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.998, allocations: 393 kB / 0.7498 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.9997, allocations: 1.307 MB / 0.751 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9997, allocations: 2.906 kB / 0.751 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9997, allocations: 0 / 0.751 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.9997, allocations: 0.9375 kB / 0.751 GB, free: 1.582 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.002269/1.002, allocations: 1.048 MB / 0.7521 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.002, allocations: 9.406 kB / 0.7521 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/1.003, allocations: 144.1 kB / 0.7522 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/1.004, allocations: 477.8 kB / 0.7527 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.004, allocations: 102.5 kB / 0.7528 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/1.004, allocations: 48.3 kB / 0.7528 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.005, allocations: 0.8167 MB / 0.7536 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.005, allocations: 6.375 kB / 0.7536 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/1.005, allocations: 28.33 kB / 0.7536 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/1.005, allocations: 38.48 kB / 0.7537 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/1.006, allocations: 0.6181 MB / 0.7543 GB, free: 16.52 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.004288/1.01, allocations: 3.886 MB / 0.7581 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/1.011, allocations: 343.6 kB / 0.7584 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/1.011, allocations: 165.3 kB / 0.7586 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.286e-05/1.011, allocations: 12.62 kB / 0.7586 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.011, allocations: 41.5 kB / 0.7586 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/1.011, allocations: 3.188 kB / 0.7586 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005103/1.016, allocations: 1.599 MB / 0.7602 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.016, allocations: 142.2 kB / 0.7603 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/1.017, allocations: 0.614 MB / 0.7609 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/1.017, allocations: 32.2 kB / 0.761 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.017, allocations: 379.5 kB / 0.7613 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/1.017, allocations: 154.5 kB / 0.7615 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/1.017, allocations: 156.7 kB / 0.7616 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.018, allocations: 376 kB / 0.762 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/1.018, allocations: 203.4 kB / 0.7622 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/1.018, allocations: 0.5164 MB / 0.7627 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/1.019, allocations: 0.7508 MB / 0.7634 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.019, allocations: 4.281 kB / 0.7634 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001279/1.021, allocations: 0.877 MB / 0.7643 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.021, allocations: 11.78 kB / 0.7643 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.021, allocations: 10.12 kB / 0.7643 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/1.022, allocations: 324.1 kB / 0.7646 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/1.022, allocations: 121.2 kB / 0.7647 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/1.024, allocations: 0.9368 MB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/1.024, allocations: 26.94 kB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/1.024, allocations: 66.64 kB / 0.7657 GB, free: 11.12 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.0003593/1.024, allocations: 241.9 kB / 0.7659 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.025, allocations: 69.55 kB / 0.766 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.026, allocations: 0.8721 MB / 0.7669 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.026, allocations: 5.344 kB / 0.7669 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.026, allocations: 0.8438 kB / 0.7669 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.026, allocations: 2.859 kB / 0.7669 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.028, allocations: 1.208 MB / 0.768 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.028, allocations: 2.141 kB / 0.768 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/1.029, allocations: 208.9 kB / 0.7682 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.24e-05/1.029, allocations: 22.92 kB / 0.7683 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/1.029, allocations: 24.14 kB / 0.7683 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.031, allocations: 2.68 MB / 0.7709 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.031, allocations: 3.031 kB / 0.7709 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.032, allocations: 0.8094 MB / 0.7717 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/1.033, allocations: 126.3 kB / 0.7718 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/1.033, allocations: 6.188 kB / 0.7718 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/1.033, allocations: 18.53 kB / 0.7718 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.033, allocations: 45.61 kB / 0.7719 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/1.033, allocations: 44.47 kB / 0.7719 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004882/1.034, allocations: 439.7 kB / 0.7724 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 0 / 0.7724 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009003/1.035, allocations: 261.9 kB / 0.7726 GB, free: 7.641 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.0006239/1.035, allocations: 282.7 kB / 0.7729 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.036, allocations: 0.5338 MB / 0.7734 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.036, allocations: 0.8438 kB / 0.7734 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/1.037, allocations: 399.1 kB / 0.7738 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.039, allocations: 369.3 kB / 0.7741 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/1.041, allocations: 1.397 MB / 0.7755 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/1.042, allocations: 0.9263 MB / 0.7764 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/1.042, allocations: 129.1 kB / 0.7765 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.042, allocations: 0.5938 kB / 0.7765 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.0229/1.065, allocations: 16.67 MB / 0.7928 GB, free: 1.938 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.21476013213396]