Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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.001649/0.001649, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001612/0.001612, allocations: 212.5 kB / 23 MB, free: 5.574 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.402/1.402, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.88 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2366, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3764/0.613, allocations: 155 MB / 0.571 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.6144, allocations: 1.62 MB / 0.5726 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.6144, allocations: 0 / 0.5726 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.6147, allocations: 68.83 kB / 0.5727 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.6151, allocations: 162.4 kB / 0.5728 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.6174, allocations: 1.047 MB / 0.5738 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.6178, allocations: 354.4 kB / 0.5742 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.6178, allocations: 8.875 kB / 0.5742 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.618, allocations: 166 kB / 0.5744 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.6182, allocations: 143.5 kB / 0.5745 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.6182, allocations: 12.47 kB / 0.5745 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.6205, allocations: 1.668 MB / 0.5761 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.6205, allocations: 71.8 kB / 0.5762 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.6207, allocations: 99.23 kB / 0.5763 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.6219, allocations: 1.042 MB / 0.5773 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6219, allocations: 0 / 0.5773 GB, free: 12.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6219, allocations: 0 / 0.5773 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.6219, allocations: 0 / 0.5773 GB, free: 12.42 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.001703/0.6236, allocations: 0.7077 MB / 0.578 GB, free: 11.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6237, allocations: 10.47 kB / 0.578 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.6238, allocations: 24.33 kB / 0.578 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.6241, allocations: 231.2 kB / 0.5783 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.6241, allocations: 11.23 kB / 0.5783 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.6241, allocations: 17.38 kB / 0.5783 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.6247, allocations: 255.7 kB / 0.5785 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6247, allocations: 0 / 0.5785 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.6247, allocations: 8.75 kB / 0.5785 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.6247, allocations: 9.781 kB / 0.5785 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.6253, allocations: 272 kB / 0.5788 GB, free: 11.63 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.001382/0.6267, allocations: 0.7851 MB / 0.5796 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.6273, allocations: 214.6 kB / 0.5798 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.6276, allocations: 132 kB / 0.5799 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.6279, allocations: 356.6 kB / 0.5802 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6279, allocations: 42.72 kB / 0.5803 GB, free: 10.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.6279, allocations: 0 / 0.5803 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002326/0.6303, allocations: 0.7001 MB / 0.581 GB, free: 10.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.6303, allocations: 86.36 kB / 0.581 GB, free: 10.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6305, allocations: 132.9 kB / 0.5812 GB, free: 10.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.6305, allocations: 33.44 kB / 0.5812 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.6306, allocations: 109.1 kB / 0.5813 GB, free: 10.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6307, allocations: 137.2 kB / 0.5814 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.6308, allocations: 75.36 kB / 0.5815 GB, free: 10.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6309, allocations: 331.4 kB / 0.5818 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.6313, allocations: 130.9 kB / 0.582 GB, free: 9.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.6317, allocations: 202.3 kB / 0.5821 GB, free: 9.613 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.6324, allocations: 368.4 kB / 0.5825 GB, free: 9.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6324, allocations: 2.625 kB / 0.5825 GB, free: 9.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009052/0.6333, allocations: 411.7 kB / 0.5829 GB, free: 9.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6334, allocations: 5.703 kB / 0.5829 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6334, allocations: 3.062 kB / 0.5829 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6334, allocations: 3.469 kB / 0.5829 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.6339, allocations: 86.62 kB / 0.583 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6339, allocations: 13.02 kB / 0.583 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.6342, allocations: 25 kB / 0.583 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.6342, allocations: 20.91 kB / 0.583 GB, free: 9.332 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.0001448/0.6344, allocations: 144.7 kB / 0.5832 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.6345, allocations: 18.31 kB / 0.5832 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.6348, allocations: 181.4 kB / 0.5834 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6348, allocations: 5.75 kB / 0.5834 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6348, allocations: 1.203 kB / 0.5834 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.6348, allocations: 6.766 kB / 0.5834 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.6365, allocations: 0.772 MB / 0.5841 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6365, allocations: 2.906 kB / 0.5841 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.637, allocations: 83.61 kB / 0.5842 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.637, allocations: 14.16 kB / 0.5842 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.637, allocations: 9.969 kB / 0.5842 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.637, allocations: 4.531 kB / 0.5843 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.637, allocations: 2.812 kB / 0.5843 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6383, allocations: 0.7157 MB / 0.585 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6385, allocations: 124.7 kB / 0.5851 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.6385, allocations: 11.69 kB / 0.5851 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.6389, allocations: 17.83 kB / 0.5851 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.6389, allocations: 28.12 kB / 0.5851 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.639, allocations: 17.77 kB / 0.5851 GB, free: 8.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.6391, allocations: 106.4 kB / 0.5852 GB, free: 8.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6391, allocations: 0 / 0.5852 GB, free: 8.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005712/0.6396, allocations: 154.2 kB / 0.5854 GB, free: 7.996 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.0004347/0.6401, allocations: 240.7 kB / 0.5856 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.6409, allocations: 337.4 kB / 0.5859 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6409, allocations: 0 / 0.5859 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.6413, allocations: 173.3 kB / 0.5861 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.642, allocations: 104.7 kB / 0.5862 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.6434, allocations: 0.6374 MB / 0.5868 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.6438, allocations: 0.7385 MB / 0.5876 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.6441, allocations: 78.05 kB / 0.5876 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6442, allocations: 38.8 kB / 0.5877 GB, free: 6.512 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6442, allocations: 0 / 0.5877 GB, free: 6.512 MB / 462.1 MB Notification: Performance of Templates: time 0.01077/0.655, allocations: 6.511 MB / 0.594 GB, free: 3.25 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.92718759085983]