Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 51.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.277, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4173/0.6943, allocations: 133.3 MB / 0.5523 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.6959, allocations: 1.431 MB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.696, allocations: 5.75 kB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.6963, allocations: 53.62 kB / 0.5538 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.6967, allocations: 163.1 kB / 0.5539 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6994, allocations: 1.063 MB / 0.555 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.6998, allocations: 357.6 kB / 0.5553 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.6999, allocations: 11.66 kB / 0.5553 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.7001, allocations: 166.4 kB / 0.5555 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.7004, allocations: 132.9 kB / 0.5556 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.7004, allocations: 11.22 kB / 0.5556 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.7027, allocations: 1.364 MB / 0.557 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.7028, allocations: 73.19 kB / 0.557 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.7029, allocations: 91.03 kB / 0.5571 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.7044, allocations: 0.9919 MB / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7044, allocations: 4 kB / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7044, allocations: 1.094 kB / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.7044, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.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.001759/0.7062, allocations: 0.6352 MB / 0.5587 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.7062, allocations: 10.59 kB / 0.5587 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.7064, allocations: 21.75 kB / 0.5587 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.7067, allocations: 166.5 kB / 0.5589 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.7067, allocations: 11.45 kB / 0.5589 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.7067, allocations: 22.7 kB / 0.5589 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.7073, allocations: 367.4 kB / 0.5593 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.7074, allocations: 0 / 0.5593 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.7074, allocations: 9.594 kB / 0.5593 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.7074, allocations: 5.281 kB / 0.5593 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.708, allocations: 265.5 kB / 0.5595 GB, free: 14.85 MB / 462.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.001364/0.7093, allocations: 0.6152 MB / 0.5601 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.7099, allocations: 209.5 kB / 0.5603 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.7102, allocations: 123.5 kB / 0.5605 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.7104, allocations: 61.08 kB / 0.5605 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.7105, allocations: 40.89 kB / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.7105, allocations: 1.203 kB / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002306/0.7128, allocations: 0.6869 MB / 0.5612 GB, free: 14.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.7128, allocations: 79.95 kB / 0.5613 GB, free: 14.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.713, allocations: 142.4 kB / 0.5614 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.713, allocations: 32.7 kB / 0.5615 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.7131, allocations: 118.6 kB / 0.5616 GB, free: 13.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7132, allocations: 141.1 kB / 0.5617 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.7133, allocations: 64.19 kB / 0.5618 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7135, allocations: 331.8 kB / 0.5621 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.7138, allocations: 132.3 kB / 0.5622 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.7142, allocations: 210.6 kB / 0.5624 GB, free: 13.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.715, allocations: 361.6 kB / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.715, allocations: 0 / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008814/0.7159, allocations: 414.6 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7159, allocations: 5.156 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7159, allocations: 2.375 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7159, allocations: 4.188 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.7164, allocations: 89.77 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7164, allocations: 2.375 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.7167, allocations: 34.39 kB / 0.5633 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.7167, allocations: 17.7 kB / 0.5633 GB, free: 13.35 MB / 462.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.0001608/0.7169, allocations: 146.5 kB / 0.5635 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.717, allocations: 18.97 kB / 0.5635 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.7173, allocations: 184 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.7173, allocations: 2.875 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7173, allocations: 6.891 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7173, allocations: 4.672 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.719, allocations: 0.6589 MB / 0.5643 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.719, allocations: 1.188 kB / 0.5643 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.7194, allocations: 84.38 kB / 0.5644 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.7194, allocations: 10.16 kB / 0.5644 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.7194, allocations: 14.42 kB / 0.5644 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7194, allocations: 2.531 kB / 0.5644 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7194, allocations: 2.531 kB / 0.5644 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.7208, allocations: 0.7159 MB / 0.5651 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.7209, allocations: 47.75 kB / 0.5652 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.721, allocations: 12.97 kB / 0.5652 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.7213, allocations: 23.09 kB / 0.5652 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.7214, allocations: 26 kB / 0.5652 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.7214, allocations: 14.08 kB / 0.5652 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.39e-05/0.7215, allocations: 112.3 kB / 0.5653 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7215, allocations: 0 / 0.5653 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006421/0.7221, allocations: 156.6 kB / 0.5655 GB, free: 12.48 MB / 462.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 (38): * Single equations (assignments): 38 * 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.0004501/0.7226, allocations: 236.4 kB / 0.5657 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.7234, allocations: 335.5 kB / 0.566 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7234, allocations: 0 / 0.566 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.7238, allocations: 174.7 kB / 0.5662 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.7245, allocations: 99.05 kB / 0.5663 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.7261, allocations: 0.6778 MB / 0.567 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.7262, allocations: 123 kB / 0.5671 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.7264, allocations: 45.45 kB / 0.5671 GB, free: 11.86 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.7264, allocations: 0 / 0.5671 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Templates: time 0.007221/0.7336, allocations: 4.886 MB / 0.5719 GB, free: 11.39 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.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: 8.070463137235492]