Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 141.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9318/0.9318, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.088e-05, allocations: 6.312 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1534/0.1534, allocations: 26.29 MB / 294.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1556, allocations: 2.226 MB / 296.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.1557, allocations: 1.438 kB / 296.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.156, allocations: 58.42 kB / 296.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1564, allocations: 154.7 kB / 296.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.1707, allocations: 6.576 MB / 303.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.1712, allocations: 316.9 kB / 303.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.747e-05/0.1713, allocations: 12.25 kB / 303.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1715, allocations: 173.6 kB / 303.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1718, allocations: 112.4 kB / 303.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1718, allocations: 12.19 kB / 303.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.1852, allocations: 8.99 MB / 312.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1853, allocations: 78.66 kB / 313 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1854, allocations: 75.23 kB / 313 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008584/0.194, allocations: 5.829 MB / 318.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.194, allocations: 3.984 kB / 318.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.194, allocations: 0 / 318.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.194, allocations: 0 / 318.9 MB, free: 5.004 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002497/0.1965, allocations: 1.151 MB / 320 MB, free: 3.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1965, allocations: 8.922 kB / 320 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1967, allocations: 45.64 kB / 320.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1969, allocations: 173.4 kB / 320.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1969, allocations: 12.27 kB / 320.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.197, allocations: 20 kB / 320.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.1974, allocations: 326.6 kB / 320.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1974, allocations: 4 kB / 320.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1974, allocations: 12 kB / 320.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.1974, allocations: 4 kB / 320.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1978, allocations: 159.8 kB / 320.8 MB, free: 3 MB / 266.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.0009095/0.1987, allocations: 0.7041 MB / 321.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.1991, allocations: 232.2 kB / 321.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1992, allocations: 91.33 kB / 321.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006364/0.2056, allocations: 2.721 MB / 324.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.2056, allocations: 41.33 kB / 324.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.2056, allocations: 0 / 324.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001494/0.2071, allocations: 0.5252 MB / 325.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2072, allocations: 85.05 kB / 325.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2073, allocations: 186.8 kB / 325.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2073, allocations: 37.64 kB / 325.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.2074, allocations: 155.7 kB / 325.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.2074, allocations: 129.8 kB / 325.6 MB, free: 14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2076, allocations: 79.3 kB / 325.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.2079, allocations: 0.4962 MB / 326.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2081, allocations: 87.94 kB / 326.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2083, allocations: 181.1 kB / 326.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.2088, allocations: 274.8 kB / 326.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2088, allocations: 4 kB / 326.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006718/0.2095, allocations: 336 kB / 327.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2095, allocations: 7.984 kB / 327.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2095, allocations: 4.219 kB / 327.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.2095, allocations: 8 kB / 327.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2098, allocations: 83.83 kB / 327.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2098, allocations: 4 kB / 327.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.21, allocations: 19.94 kB / 327.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.21, allocations: 20 kB / 327.2 MB, free: 12.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2101, allocations: 184.4 kB / 327.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2103, allocations: 47.67 kB / 327.5 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.2106, allocations: 170.4 kB / 327.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2106, allocations: 4 kB / 327.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2106, allocations: 0 / 327.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2107, allocations: 4 kB / 327.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.2116, allocations: 0.6404 MB / 328.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2116, allocations: 0 / 328.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2118, allocations: 71.89 kB / 328.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2118, allocations: 4 kB / 328.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.2119, allocations: 15.94 kB / 328.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.2119, allocations: 11.92 kB / 328.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2119, allocations: 1.031 kB / 328.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.2127, allocations: 0.6658 MB / 329 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.2128, allocations: 51.73 kB / 329.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2128, allocations: 11.94 kB / 329.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.213, allocations: 8 kB / 329.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.2131, allocations: 31.05 kB / 329.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.2131, allocations: 19.98 kB / 329.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.014e-05/0.2132, allocations: 140.6 kB / 329.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2132, allocations: 0 / 329.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00228/0.2154, allocations: 0.9433 MB / 330.2 MB, free: 9.207 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003222/0.2187, allocations: 1.396 MB / 331.6 MB, free: 7.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.2192, allocations: 260.5 kB / 331.9 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2192, allocations: 0 / 331.9 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.2194, allocations: 144.2 kB / 332 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.22, allocations: 108.1 kB / 332.1 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2213, allocations: 0.506 MB / 332.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.2214, allocations: 85.33 kB / 332.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.2217, allocations: 73.89 kB / 332.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2218, allocations: 52.45 kB / 332.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2218, allocations: 0 / 332.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Templates: time 0.03634/0.2581, allocations: 30.45 MB / 363.3 MB, free: 8.281 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9471667879261076]