Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.001566/0.001566, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 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.001627/0.001627, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.41/1.41, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 43.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 52.14 MB / 420.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3907/0.634, allocations: 151.9 MB / 0.5594 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.6354, allocations: 1.608 MB / 0.5609 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.6355, allocations: 0 / 0.5609 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.6358, allocations: 58.62 kB / 0.561 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.6361, allocations: 154.4 kB / 0.5611 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.6385, allocations: 1.029 MB / 0.5621 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.6389, allocations: 324.3 kB / 0.5624 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.6389, allocations: 13.66 kB / 0.5625 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.6392, allocations: 155.8 kB / 0.5626 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.6394, allocations: 132.3 kB / 0.5627 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.6394, allocations: 12.38 kB / 0.5627 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.642, allocations: 1.623 MB / 0.5643 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.6421, allocations: 78.5 kB / 0.5644 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.6422, allocations: 91.73 kB / 0.5645 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.6438, allocations: 0.9953 MB / 0.5655 GB, free: 13.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6438, allocations: 3.938 kB / 0.5655 GB, free: 13.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6438, allocations: 0 / 0.5655 GB, free: 13.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.6438, allocations: 0 / 0.5655 GB, free: 13.13 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.001789/0.6456, allocations: 0.682 MB / 0.5661 GB, free: 12.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6456, allocations: 10.19 kB / 0.5661 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.6457, allocations: 25.67 kB / 0.5662 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.646, allocations: 226 kB / 0.5664 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.646, allocations: 14.64 kB / 0.5664 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.6461, allocations: 16.91 kB / 0.5664 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.6466, allocations: 259.8 kB / 0.5667 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6466, allocations: 3.562 kB / 0.5667 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.6466, allocations: 6.344 kB / 0.5667 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.6467, allocations: 4.719 kB / 0.5667 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.6472, allocations: 270.9 kB / 0.5669 GB, free: 12.36 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.001461/0.6487, allocations: 0.7921 MB / 0.5677 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.6492, allocations: 217.5 kB / 0.5679 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.6495, allocations: 127 kB / 0.568 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.6499, allocations: 361.1 kB / 0.5684 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6499, allocations: 35.81 kB / 0.5684 GB, free: 11.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/0.6499, allocations: 2.875 kB / 0.5684 GB, free: 11.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002263/0.6522, allocations: 0.6721 MB / 0.5691 GB, free: 11.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.6522, allocations: 83.83 kB / 0.5692 GB, free: 11.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6524, allocations: 125.5 kB / 0.5693 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.6524, allocations: 31.55 kB / 0.5693 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.6525, allocations: 110.9 kB / 0.5694 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.6526, allocations: 131.4 kB / 0.5695 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.6527, allocations: 66.16 kB / 0.5696 GB, free: 10.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6528, allocations: 326.7 kB / 0.5699 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.6531, allocations: 135.2 kB / 0.57 GB, free: 10.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.6535, allocations: 218.1 kB / 0.5702 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.6542, allocations: 352.8 kB / 0.5706 GB, free: 10.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6542, allocations: 6.125 kB / 0.5706 GB, free: 10.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008332/0.655, allocations: 408.3 kB / 0.571 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.655, allocations: 5.656 kB / 0.571 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.655, allocations: 2.125 kB / 0.571 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6551, allocations: 5.25 kB / 0.571 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.6555, allocations: 94.33 kB / 0.5711 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6556, allocations: 2.344 kB / 0.5711 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.6559, allocations: 31.56 kB / 0.5711 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.6559, allocations: 18.5 kB / 0.5711 GB, free: 10.26 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.000151/0.656, allocations: 143 kB / 0.5713 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.6561, allocations: 23.81 kB / 0.5713 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.6565, allocations: 179.9 kB / 0.5715 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6565, allocations: 2.312 kB / 0.5715 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6565, allocations: 2.188 kB / 0.5715 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6565, allocations: 2.484 kB / 0.5715 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.6583, allocations: 0.7599 MB / 0.5722 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6583, allocations: 2.625 kB / 0.5722 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.6588, allocations: 83.19 kB / 0.5723 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6588, allocations: 2.938 kB / 0.5723 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.6589, allocations: 7.906 kB / 0.5723 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.6589, allocations: 10.53 kB / 0.5723 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6589, allocations: 2.438 kB / 0.5723 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6606, allocations: 0.7151 MB / 0.573 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.6608, allocations: 119.4 kB / 0.5731 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.6609, allocations: 8.906 kB / 0.5731 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.6614, allocations: 20.56 kB / 0.5732 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.6614, allocations: 24.59 kB / 0.5732 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.6615, allocations: 15.52 kB / 0.5732 GB, free: 9.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.6615, allocations: 93.48 kB / 0.5733 GB, free: 9.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6615, allocations: 288 / 0.5733 GB, free: 9.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008353/0.6624, allocations: 145 kB / 0.5734 GB, free: 9.211 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.0005006/0.6629, allocations: 235.9 kB / 0.5736 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.6637, allocations: 336.2 kB / 0.574 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6637, allocations: 0 / 0.574 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.664, allocations: 168.3 kB / 0.5741 GB, free: 9.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.6647, allocations: 96.86 kB / 0.5742 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.666, allocations: 0.62 MB / 0.5748 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6663, allocations: 0.7328 MB / 0.5755 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.6666, allocations: 74.58 kB / 0.5756 GB, free: 7.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6667, allocations: 38.7 kB / 0.5756 GB, free: 7.945 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6667, allocations: 2.125 kB / 0.5757 GB, free: 7.945 MB / 462.1 MB Notification: Performance of Templates: time 0.01035/0.6771, allocations: 6.101 MB / 0.5816 GB, free: 5.07 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.924162233248353]