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.001696/0.001696, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.001956/0.001956, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 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 1.43/1.43, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001535/0.001535, allocations: 45.98 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08728, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03308/0.1204, allocations: 23.85 MB / 395.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1233, allocations: 1.994 MB / 397.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.1233, allocations: 0 / 397.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1237, allocations: 63.66 kB / 397.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1241, allocations: 155.1 kB / 397.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.1394, allocations: 6.481 MB / 404.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.1399, allocations: 314.9 kB / 404.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.14, allocations: 17.28 kB / 404.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.1402, allocations: 143.5 kB / 404.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1404, allocations: 115.6 kB / 404.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1405, allocations: 12 kB / 404.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/0.1566, allocations: 8.952 MB / 413.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1568, allocations: 71.78 kB / 413.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1569, allocations: 79.72 kB / 413.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.1673, allocations: 4.654 MB / 418.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1673, allocations: 4 kB / 418.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1673, allocations: 4 kB / 418.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1673, allocations: 0 / 418.5 MB, free: 8.336 MB / 382.1 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.003298/0.1706, allocations: 1.067 MB / 419.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1707, allocations: 16.91 kB / 419.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1708, allocations: 24.59 kB / 419.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1711, allocations: 153 kB / 419.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1711, allocations: 20.25 kB / 419.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1711, allocations: 20 kB / 419.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.1719, allocations: 392.2 kB / 420.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1719, allocations: 4 kB / 420.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.172, allocations: 8 kB / 420.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.172, allocations: 8 kB / 420.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.1728, allocations: 311.6 kB / 420.5 MB, free: 6.234 MB / 382.1 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.001446/0.1742, allocations: 0.6593 MB / 421.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.175, allocations: 233.1 kB / 421.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.1753, allocations: 129.6 kB / 421.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.187, allocations: 2.702 MB / 424.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.187, allocations: 34.56 kB / 424.2 MB, free: 2.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/0.1871, allocations: 0 / 424.2 MB, free: 2.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00303/0.1901, allocations: 0.6881 MB / 424.9 MB, free: 1.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.1901, allocations: 81.11 kB / 425 MB, free: 1.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1903, allocations: 137.9 kB / 425.1 MB, free: 1.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.1903, allocations: 33.7 kB / 425.1 MB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.1904, allocations: 112.9 kB / 425.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1905, allocations: 126.9 kB / 425.4 MB, free: 1.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1907, allocations: 69.67 kB / 425.4 MB, free: 1.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1908, allocations: 326.8 kB / 425.8 MB, free: 0.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.1912, allocations: 135.8 kB / 425.9 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.1917, allocations: 219.5 kB / 426.1 MB, free: 428 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.1927, allocations: 365.1 kB / 426.5 MB, free: 36 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1927, allocations: 0 / 426.5 MB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001241/0.194, allocations: 412.3 kB / 426.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.194, allocations: 4 kB / 426.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.194, allocations: 7.938 kB / 426.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.194, allocations: 7.984 kB / 426.9 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.1945, allocations: 92.09 kB / 427 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1945, allocations: 4 kB / 427 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1948, allocations: 31.81 kB / 427 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.1949, allocations: 23.92 kB / 427 MB, free: 15.46 MB / 398.1 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.0001699/0.1951, allocations: 141.8 kB / 427.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.1952, allocations: 27.89 kB / 427.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.1957, allocations: 186 kB / 427.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1957, allocations: 4 kB / 427.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1957, allocations: 3.938 kB / 427.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1957, allocations: 0 / 427.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.1976, allocations: 0.6734 MB / 428.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1976, allocations: 4 kB / 428.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.198, allocations: 84.03 kB / 428.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.198, allocations: 4 kB / 428.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1981, allocations: 11.98 kB / 428.2 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1981, allocations: 4 kB / 428.2 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1981, allocations: 0 / 428.2 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1997, allocations: 0.702 MB / 428.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1998, allocations: 47.89 kB / 428.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.1999, allocations: 8 kB / 428.9 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.2002, allocations: 15.98 kB / 428.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.2003, allocations: 31.95 kB / 429 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.2003, allocations: 27.92 kB / 429 MB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.2004, allocations: 95.27 kB / 429.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2004, allocations: 0 / 429.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002515/0.2029, allocations: 0.9471 MB / 430 MB, free: 12.35 MB / 398.1 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.004299/0.2072, allocations: 1.27 MB / 431.3 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2083, allocations: 332.4 kB / 431.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2083, allocations: 0 / 431.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.2088, allocations: 163.8 kB / 431.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.2095, allocations: 95.12 kB / 431.9 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2109, allocations: 0.6018 MB / 432.5 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.211, allocations: 124.9 kB / 432.6 MB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.2113, allocations: 89.86 kB / 432.7 MB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2115, allocations: 36.48 kB / 432.7 MB, free: 9.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2115, allocations: 4 kB / 432.7 MB, free: 9.586 MB / 398.1 MB Notification: Performance of Templates: time 0.04298/0.2545, allocations: 29.58 MB / 462.3 MB, free: 12.08 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 6.262144420994446]