Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0008279/0.0008279, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004672/0.004672, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.9262/0.9262, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 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.2751/0.2751, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.133e-05, allocations: 8.75 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3274/0.3274, allocations: 130.2 MB / 0.5602 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.3327, allocations: 5.172 MB / 0.5652 GB, free: 8.871 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.333, allocations: 27.75 kB / 0.5653 GB, free: 8.844 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3339, allocations: 317.9 kB / 0.5656 GB, free: 8.531 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3351, allocations: 0.9126 MB / 0.5665 GB, free: 7.613 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3368, allocations: 1.078 MB / 0.5675 GB, free: 6.543 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3382, allocations: 1.828 MB / 0.5693 GB, free: 4.711 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.3386, allocations: 402.5 kB / 0.5697 GB, free: 4.312 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3396, allocations: 0.9972 MB / 0.5706 GB, free: 3.312 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.3403, allocations: 0.6935 MB / 0.5713 GB, free: 2.617 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.3404, allocations: 64 kB / 0.5714 GB, free: 2.555 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.341, allocations: 494.9 kB / 0.5719 GB, free: 2.07 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3412, allocations: 283.1 kB / 0.5721 GB, free: 1.793 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3415, allocations: 291.3 kB / 0.5724 GB, free: 1.508 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3426, allocations: 1.207 MB / 0.5736 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3426, allocations: 0 / 0.5736 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3426, allocations: 0 / 0.5736 GB, free: 304 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3426, allocations: 0 / 0.5736 GB, free: 304 kB / 474.7 MB 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.001656/0.3443, allocations: 0.9911 MB / 0.5746 GB, free: 15.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3443, allocations: 16.02 kB / 0.5746 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.3446, allocations: 88.47 kB / 0.5747 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.3452, allocations: 485.9 kB / 0.5751 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3454, allocations: 163 kB / 0.5753 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.3454, allocations: 44.38 kB / 0.5753 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3465, allocations: 1.146 MB / 0.5764 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3465, allocations: 4.969 kB / 0.5764 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.3465, allocations: 27.92 kB / 0.5765 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.3466, allocations: 36.98 kB / 0.5765 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.3473, allocations: 0.6556 MB / 0.5771 GB, free: 12.43 MB / 490.7 MB 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.002773/0.3501, allocations: 3.071 MB / 0.5801 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.3507, allocations: 400.2 kB / 0.5805 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3509, allocations: 201.3 kB / 0.5807 GB, free: 8.672 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.3511, allocations: 60.22 kB / 0.5808 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3511, allocations: 42.83 kB / 0.5808 GB, free: 8.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.3511, allocations: 1.406 kB / 0.5808 GB, free: 8.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002202/0.3533, allocations: 1.387 MB / 0.5822 GB, free: 7.141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.3534, allocations: 136.5 kB / 0.5823 GB, free: 6.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.3538, allocations: 0.5259 MB / 0.5828 GB, free: 6.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3539, allocations: 37.7 kB / 0.5828 GB, free: 6.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3541, allocations: 364.4 kB / 0.5832 GB, free: 6.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.3542, allocations: 170.5 kB / 0.5834 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3543, allocations: 138.6 kB / 0.5835 GB, free: 5.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3544, allocations: 370.8 kB / 0.5838 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.3547, allocations: 217.9 kB / 0.584 GB, free: 5.141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.3551, allocations: 0.5923 MB / 0.5846 GB, free: 4.391 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.3558, allocations: 0.7611 MB / 0.5854 GB, free: 3.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3558, allocations: 0 / 0.5854 GB, free: 3.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001027/0.3568, allocations: 0.8998 MB / 0.5862 GB, free: 2.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3568, allocations: 8 kB / 0.5863 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3568, allocations: 13.73 kB / 0.5863 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.3576, allocations: 286.8 kB / 0.5865 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3578, allocations: 130.4 kB / 0.5867 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000723/0.3585, allocations: 0.886 MB / 0.5875 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.3587, allocations: 27.98 kB / 0.5876 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.3588, allocations: 36 kB / 0.5876 GB, free: 1.191 MB / 490.7 MB 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.0002252/0.359, allocations: 249.5 kB / 0.5878 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.3591, allocations: 67.56 kB / 0.5879 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.36, allocations: 0.6864 MB / 0.5886 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.36, allocations: 4 kB / 0.5886 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.36, allocations: 0 / 0.5886 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.36, allocations: 4 kB / 0.5886 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3612, allocations: 1.167 MB / 0.5897 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3612, allocations: 4 kB / 0.5897 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.3617, allocations: 199.8 kB / 0.5899 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.487e-05/0.3618, allocations: 40.8 kB / 0.5899 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3618, allocations: 23.92 kB / 0.59 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.3632, allocations: 2.61 MB / 0.5925 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3632, allocations: 7.938 kB / 0.5925 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.3641, allocations: 0.9288 MB / 0.5934 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3642, allocations: 127.5 kB / 0.5936 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3643, allocations: 8 kB / 0.5936 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3644, allocations: 19.98 kB / 0.5936 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.3645, allocations: 35.94 kB / 0.5936 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.3645, allocations: 19.98 kB / 0.5936 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000283/0.3648, allocations: 359 kB / 0.594 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3648, allocations: 4 kB / 0.594 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005373/0.3654, allocations: 223.8 kB / 0.5942 GB, free: 10.13 MB / 0.4948 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.0004103/0.3658, allocations: 238.4 kB / 0.5944 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.3666, allocations: 0.588 MB / 0.595 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3666, allocations: 4 kB / 0.595 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3672, allocations: 431.3 kB / 0.5954 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.368, allocations: 318.6 kB / 0.5957 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3694, allocations: 1.341 MB / 0.597 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3696, allocations: 337.1 kB / 0.5973 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3697, allocations: 64.48 kB / 0.5974 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.3697, allocations: 4 kB / 0.5974 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.01507/0.3848, allocations: 15.58 MB / 0.6126 GB, free: 7.266 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.004033216275275]