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.001695/0.001695, allocations: 113.9 kB / 19.13 MB, free: 3.922 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.002104/0.002104, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.488/1.488, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] 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.2311/0.2311, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",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.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 85.98 kB / 490.9 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1336, allocations: 62.46 MB / 0.5404 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4799/0.6135, allocations: 150.5 MB / 0.6873 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008777/0.6223, allocations: 5.589 MB / 0.6928 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.6232, allocations: 24.47 kB / 0.6928 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6244, allocations: 327 kB / 0.6931 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.6266, allocations: 0.8561 MB / 0.694 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.6297, allocations: 1.031 MB / 0.695 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.6323, allocations: 1.803 MB / 0.6967 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.6331, allocations: 461.9 kB / 0.6972 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.6346, allocations: 0.7658 MB / 0.6979 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.6357, allocations: 0.7105 MB / 0.6986 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.6358, allocations: 62.47 kB / 0.6987 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.6372, allocations: 0.5578 MB / 0.6992 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.6376, allocations: 275.3 kB / 0.6995 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.6381, allocations: 398.2 kB / 0.6999 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.6398, allocations: 1.176 MB / 0.701 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6399, allocations: 0 / 0.701 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6399, allocations: 3.938 kB / 0.701 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6399, allocations: 0 / 0.701 GB, free: 11.48 MB / 0.4981 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.00217/0.6421, allocations: 1.078 MB / 0.7021 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6421, allocations: 8.031 kB / 0.7021 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.6425, allocations: 96.42 kB / 0.7022 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.6434, allocations: 0.5487 MB / 0.7027 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.6435, allocations: 96.97 kB / 0.7028 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.6436, allocations: 52.55 kB / 0.7028 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.645, allocations: 0.8214 MB / 0.7036 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.645, allocations: 3.938 kB / 0.7037 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.6451, allocations: 24 kB / 0.7037 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/0.6452, allocations: 40.98 kB / 0.7037 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6463, allocations: 0.6517 MB / 0.7044 GB, free: 7.902 MB / 0.4981 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.004846/0.6511, allocations: 3.952 MB / 0.7082 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.6519, allocations: 428.2 kB / 0.7086 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.6523, allocations: 197.4 kB / 0.7088 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/0.653, allocations: 0.7327 MB / 0.7095 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.653, allocations: 46.88 kB / 0.7096 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.745e-06/0.653, allocations: 0 / 0.7096 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00336/0.6564, allocations: 1.562 MB / 0.7111 GB, free: 476 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.6565, allocations: 132.5 kB / 0.7112 GB, free: 312 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.6573, allocations: 0.5732 MB / 0.7118 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.6573, allocations: 37.7 kB / 0.7118 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.6576, allocations: 359.9 kB / 0.7122 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6578, allocations: 166.6 kB / 0.7123 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.658, allocations: 134.6 kB / 0.7124 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6582, allocations: 378.8 kB / 0.7128 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.6586, allocations: 217.9 kB / 0.713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.6592, allocations: 0.5162 MB / 0.7135 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6603, allocations: 0.7601 MB / 0.7143 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6603, allocations: 4 kB / 0.7143 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001658/0.6619, allocations: 0.9097 MB / 0.7152 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.662, allocations: 15.22 kB / 0.7152 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.662, allocations: 15.44 kB / 0.7152 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.6634, allocations: 280.6 kB / 0.7154 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6638, allocations: 123.8 kB / 0.7156 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.6649, allocations: 0.8879 MB / 0.7164 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.6654, allocations: 31.98 kB / 0.7165 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.6655, allocations: 36 kB / 0.7165 GB, free: 10.55 MB / 0.5137 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.000383/0.6659, allocations: 259.4 kB / 0.7167 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6661, allocations: 67.58 kB / 0.7168 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.6675, allocations: 0.7685 MB / 0.7176 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6675, allocations: 11.94 kB / 0.7176 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6675, allocations: 3.984 kB / 0.7176 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6675, allocations: 0 / 0.7176 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.67, allocations: 1.413 MB / 0.719 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.67, allocations: 4 kB / 0.719 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6711, allocations: 200 kB / 0.7192 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-05/0.6712, allocations: 20.84 kB / 0.7192 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.6713, allocations: 19.98 kB / 0.7192 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.6738, allocations: 2.874 MB / 0.722 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6738, allocations: 0 / 0.722 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.6754, allocations: 1.013 MB / 0.723 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.6758, allocations: 212.5 kB / 0.7232 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6759, allocations: 8.875 kB / 0.7232 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.6763, allocations: 24.06 kB / 0.7232 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6764, allocations: 39.83 kB / 0.7233 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.6765, allocations: 31.97 kB / 0.7233 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005846/0.6771, allocations: 427 kB / 0.7237 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6771, allocations: 0 / 0.7237 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008961/0.678, allocations: 223.8 kB / 0.7239 GB, free: 2.48 MB / 0.5137 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.0007549/0.6788, allocations: 260.9 kB / 0.7242 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.6803, allocations: 0.6144 MB / 0.7248 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6803, allocations: 3.859 kB / 0.7248 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6814, allocations: 443.3 kB / 0.7252 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6833, allocations: 375.2 kB / 0.7255 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.6862, allocations: 1.433 MB / 0.7269 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/0.6869, allocations: 0.9346 MB / 0.7279 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.6871, allocations: 71.42 kB / 0.7279 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6871, allocations: 0 / 0.7279 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.0259/0.713, allocations: 15.96 MB / 0.7435 GB, free: 14.39 MB / 0.545 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 10.793497020960785]