Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00146/0.00146, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00159/0.00159, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.328/1.328, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.93 MB / 361.5 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 87.86 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2722, allocations: 66.07 MB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1944/0.4667, allocations: 178.1 MB / 0.7359 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2615/0.7282, allocations: 5.361 MB / 0.7411 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/0.7287, allocations: 28.5 kB / 0.7411 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.7295, allocations: 324 kB / 0.7415 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.7325, allocations: 1.295 MB / 0.7427 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.7355, allocations: 0.985 MB / 0.7437 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.7377, allocations: 1.875 MB / 0.7455 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.7382, allocations: 394.3 kB / 0.7459 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.7401, allocations: 1.115 MB / 0.747 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.741, allocations: 0.7075 MB / 0.7477 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.525e-05/0.7411, allocations: 62.22 kB / 0.7477 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.7423, allocations: 0.6401 MB / 0.7484 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.7425, allocations: 270.7 kB / 0.7486 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.7429, allocations: 399.8 kB / 0.749 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.7443, allocations: 1.307 MB / 0.7503 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7443, allocations: 0 / 0.7503 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7443, allocations: 0.7812 kB / 0.7503 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.7443, allocations: 0 / 0.7503 GB, free: 1.562 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.002002/0.7463, allocations: 1.049 MB / 0.7513 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7463, allocations: 8 kB / 0.7513 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.7471, allocations: 144.1 kB / 0.7514 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.7478, allocations: 478.5 kB / 0.7519 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.748, allocations: 158.6 kB / 0.752 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.7481, allocations: 48.47 kB / 0.7521 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.749, allocations: 0.8181 MB / 0.7529 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.749, allocations: 6.656 kB / 0.7529 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.7491, allocations: 26.59 kB / 0.7529 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.7492, allocations: 37.39 kB / 0.753 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.75, allocations: 0.6227 MB / 0.7536 GB, free: 16.44 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.003988/0.754, allocations: 3.887 MB / 0.7574 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.7545, allocations: 341.6 kB / 0.7577 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.7547, allocations: 162.2 kB / 0.7578 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.082e-05/0.7548, allocations: 18.03 kB / 0.7579 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.7548, allocations: 41.16 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.7548, allocations: 0.9375 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004973/0.7598, allocations: 1.608 MB / 0.7595 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.7599, allocations: 133 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.7606, allocations: 0.6135 MB / 0.7602 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.7606, allocations: 32.86 kB / 0.7602 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.7609, allocations: 379 kB / 0.7606 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.761, allocations: 151.8 kB / 0.7607 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.7612, allocations: 156.5 kB / 0.7609 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7614, allocations: 376.6 kB / 0.7612 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.7617, allocations: 204 kB / 0.7614 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.7622, allocations: 0.5178 MB / 0.7619 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.7631, allocations: 0.7552 MB / 0.7627 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7631, allocations: 0.9688 kB / 0.7627 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001201/0.7643, allocations: 0.8782 MB / 0.7635 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7643, allocations: 14.41 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7643, allocations: 11.12 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.7655, allocations: 316.1 kB / 0.7639 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.7659, allocations: 123.2 kB / 0.764 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.7669, allocations: 0.9359 MB / 0.7649 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.7674, allocations: 25.94 kB / 0.7649 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.7674, allocations: 68.34 kB / 0.765 GB, free: 11.04 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.000313/0.7678, allocations: 246.4 kB / 0.7652 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.7679, allocations: 68.52 kB / 0.7653 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.7692, allocations: 0.8711 MB / 0.7661 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7692, allocations: 5.594 kB / 0.7661 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7692, allocations: 0.875 kB / 0.7661 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7692, allocations: 2.719 kB / 0.7661 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.7709, allocations: 1.209 MB / 0.7673 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7709, allocations: 5.484 kB / 0.7673 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/0.7719, allocations: 207.4 kB / 0.7675 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-05/0.772, allocations: 24.2 kB / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.772, allocations: 20.66 kB / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.7741, allocations: 2.676 MB / 0.7702 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7741, allocations: 6.25 kB / 0.7702 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.7752, allocations: 0.809 MB / 0.771 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.7755, allocations: 124.9 kB / 0.7711 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.7755, allocations: 11.44 kB / 0.7711 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.7759, allocations: 17.64 kB / 0.7711 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.776, allocations: 47.91 kB / 0.7712 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.776, allocations: 38.45 kB / 0.7712 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004633/0.7765, allocations: 440.3 kB / 0.7716 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7765, allocations: 0 / 0.7716 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008441/0.7773, allocations: 256.2 kB / 0.7719 GB, free: 7.559 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.0005742/0.7779, allocations: 282.8 kB / 0.7721 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.7789, allocations: 0.5377 MB / 0.7727 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7789, allocations: 0 / 0.7727 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.7797, allocations: 398.2 kB / 0.773 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.7811, allocations: 369.9 kB / 0.7734 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.7831, allocations: 1.398 MB / 0.7748 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.7836, allocations: 0.9271 MB / 0.7757 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.7839, allocations: 128.9 kB / 0.7758 GB, free: 6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7839, allocations: 0 / 0.7758 GB, free: 6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01983/0.8038, allocations: 16.67 MB / 0.7921 GB, free: 1.855 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.720928754890338]