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.001828/0.001828, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002237/0.002237, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.484/1.484, allocations: 230.3 MB / 258 MB, free: 8.227 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.001908/0.001908, allocations: 63.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2324, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3901/0.6224, allocations: 155 MB / 0.5733 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.624, allocations: 1.611 MB / 0.5749 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.624, allocations: 1.203 kB / 0.5749 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.6245, allocations: 71.17 kB / 0.5749 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.6249, allocations: 166.9 kB / 0.5751 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.6275, allocations: 1.052 MB / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.6279, allocations: 357 kB / 0.5765 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.6279, allocations: 11.84 kB / 0.5765 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.6282, allocations: 169.8 kB / 0.5766 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.6284, allocations: 139.5 kB / 0.5768 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.6284, allocations: 13.89 kB / 0.5768 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.6308, allocations: 1.683 MB / 0.5784 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.6309, allocations: 70.44 kB / 0.5785 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.6311, allocations: 109.6 kB / 0.5786 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.6325, allocations: 1.032 MB / 0.5796 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6325, allocations: 3.188 kB / 0.5796 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6325, allocations: 4.266 kB / 0.5796 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.6325, allocations: 4 kB / 0.5796 GB, free: 12.41 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.001879/0.6344, allocations: 0.6293 MB / 0.5802 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6344, allocations: 10.16 kB / 0.5803 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.6346, allocations: 24.61 kB / 0.5803 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.6349, allocations: 165.4 kB / 0.5804 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6349, allocations: 17.09 kB / 0.5804 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.6349, allocations: 20.64 kB / 0.5805 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.6355, allocations: 261.3 kB / 0.5807 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6355, allocations: 0 / 0.5807 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.6355, allocations: 9.375 kB / 0.5807 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6355, allocations: 10.3 kB / 0.5807 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.6362, allocations: 261.7 kB / 0.581 GB, free: 11.79 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.00152/0.6377, allocations: 0.7692 MB / 0.5817 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.6383, allocations: 211 kB / 0.5819 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.6387, allocations: 131.9 kB / 0.5821 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.6388, allocations: 44.06 kB / 0.5821 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.6389, allocations: 45.47 kB / 0.5822 GB, free: 11.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.6389, allocations: 1.203 kB / 0.5822 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002456/0.6413, allocations: 0.69 MB / 0.5828 GB, free: 11.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.6414, allocations: 81.83 kB / 0.5829 GB, free: 10.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6415, allocations: 148.1 kB / 0.583 GB, free: 10.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.6416, allocations: 35.14 kB / 0.5831 GB, free: 10.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.6416, allocations: 112.3 kB / 0.5832 GB, free: 10.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6418, allocations: 126.4 kB / 0.5833 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.6419, allocations: 75.53 kB / 0.5834 GB, free: 10.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.642, allocations: 327.8 kB / 0.5837 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.6424, allocations: 134.7 kB / 0.5838 GB, free: 10.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.6428, allocations: 209.5 kB / 0.584 GB, free: 10.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.6436, allocations: 356.5 kB / 0.5844 GB, free: 10.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6436, allocations: 0 / 0.5844 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009543/0.6446, allocations: 409.6 kB / 0.5847 GB, free: 9.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6446, allocations: 11.48 kB / 0.5848 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6446, allocations: 2.531 kB / 0.5848 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6446, allocations: 2.5 kB / 0.5848 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.6451, allocations: 96.22 kB / 0.5849 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6451, allocations: 5.062 kB / 0.5849 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.6455, allocations: 24.84 kB / 0.5849 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.6455, allocations: 20.17 kB / 0.5849 GB, free: 9.887 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.0001554/0.6457, allocations: 141.2 kB / 0.585 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.6457, allocations: 18.34 kB / 0.5851 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.6461, allocations: 182.5 kB / 0.5852 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6461, allocations: 8.875 kB / 0.5852 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6461, allocations: 0.875 kB / 0.5852 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6461, allocations: 6.859 kB / 0.5852 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6479, allocations: 0.7552 MB / 0.586 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6479, allocations: 2.125 kB / 0.586 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.6484, allocations: 75.36 kB / 0.5861 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6484, allocations: 5.031 kB / 0.5861 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.6484, allocations: 16.2 kB / 0.5861 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6484, allocations: 4.125 kB / 0.5861 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6484, allocations: 0 / 0.5861 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.6498, allocations: 0.7248 MB / 0.5868 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.65, allocations: 52.69 kB / 0.5868 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.65, allocations: 6.25 kB / 0.5868 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.6504, allocations: 21.08 kB / 0.5869 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.6505, allocations: 26.45 kB / 0.5869 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.6505, allocations: 17.14 kB / 0.5869 GB, free: 8.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.6506, allocations: 101.1 kB / 0.587 GB, free: 8.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6506, allocations: 0 / 0.587 GB, free: 8.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006027/0.6512, allocations: 159 kB / 0.5872 GB, free: 8.68 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.000463/0.6516, allocations: 240.2 kB / 0.5874 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.6525, allocations: 336.6 kB / 0.5877 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.6525, allocations: 0 / 0.5877 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.653, allocations: 172.2 kB / 0.5879 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.6537, allocations: 103.8 kB / 0.588 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.6552, allocations: 0.6413 MB / 0.5886 GB, free: 7.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6556, allocations: 0.735 MB / 0.5893 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.6559, allocations: 84.41 kB / 0.5894 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.656, allocations: 34.7 kB / 0.5894 GB, free: 7.195 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.656, allocations: 0 / 0.5894 GB, free: 7.195 MB / 462.1 MB Notification: Performance of Templates: time 0.01153/0.6676, allocations: 6.615 MB / 0.5959 GB, free: 3.883 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: 5.066633745096624]