Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.001539/0.001539, allocations: 114.9 kB / 18.45 MB, free: 4.617 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.00174/0.00174, allocations: 206.6 kB / 21.4 MB, free: 1.668 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.624/1.624, allocations: 227.4 MB / 251.6 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.17 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00246/0.002461, allocations: 81.09 kB / 490.2 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1274, allocations: 62.45 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.44/0.5674, allocations: 153.9 MB / 0.69 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.5693, allocations: 1.448 MB / 0.6914 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.5694, allocations: 0 / 0.6914 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.5697, allocations: 47.92 kB / 0.6914 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.5723, allocations: 1.079 MB / 0.6925 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.5723, allocations: 0 / 0.6925 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.5724, allocations: 68.69 kB / 0.6925 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.5725, allocations: 10.22 kB / 0.6925 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.5725, allocations: 24.89 kB / 0.6926 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.5726, allocations: 26.84 kB / 0.6926 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.5726, allocations: 2.5 kB / 0.6926 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.5755, allocations: 1.883 MB / 0.6944 GB, free: 72 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.5755, allocations: 9.203 kB / 0.6944 GB, free: 68 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.5756, allocations: 28.08 kB / 0.6945 GB, free: 52 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5769, allocations: 0.9205 MB / 0.6954 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.5769, allocations: 0 / 0.6954 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5769, allocations: 4 kB / 0.6954 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.577, allocations: 0 / 0.6954 GB, free: 15.55 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000742/0.5777, allocations: 0.5072 MB / 0.6959 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5777, allocations: 7.406 kB / 0.6959 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.5778, allocations: 7.891 kB / 0.6959 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5779, allocations: 179 kB / 0.6961 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.5779, allocations: 2.5 kB / 0.6961 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.578, allocations: 2.219 kB / 0.6961 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5781, allocations: 86.86 kB / 0.6961 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5781, allocations: 0 / 0.6961 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5781, allocations: 10.48 kB / 0.6961 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.5782, allocations: 9.125 kB / 0.6962 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.5783, allocations: 69.58 kB / 0.6962 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.5787, allocations: 306.5 kB / 0.6965 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.144e-05/0.5788, allocations: 43.16 kB / 0.6966 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.5789, allocations: 20.62 kB / 0.6966 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.5792, allocations: 257.5 kB / 0.6968 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5792, allocations: 37.25 kB / 0.6969 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.5792, allocations: 0 / 0.6969 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001957/0.5794, allocations: 71.3 kB / 0.6969 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5795, allocations: 55.41 kB / 0.697 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.5796, allocations: 100.7 kB / 0.6971 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.5796, allocations: 29.7 kB / 0.6971 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.5797, allocations: 102.5 kB / 0.6972 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.5797, allocations: 18.84 kB / 0.6972 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.5797, allocations: 28.81 kB / 0.6972 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5799, allocations: 313.7 kB / 0.6975 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.58, allocations: 12.86 kB / 0.6976 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.58, allocations: 41.45 kB / 0.6976 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.5801, allocations: 55.59 kB / 0.6977 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5801, allocations: 0 / 0.6977 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000131/0.5803, allocations: 86.05 kB / 0.6977 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5803, allocations: 9.188 kB / 0.6977 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5803, allocations: 0 / 0.6977 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5803, allocations: 2.594 kB / 0.6977 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.5804, allocations: 18.05 kB / 0.6978 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5804, allocations: 2.594 kB / 0.6978 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.5804, allocations: 112 / 0.6978 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5805, allocations: 8.625 kB / 0.6978 GB, free: 13.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 8.929e-05/0.5806, allocations: 118.7 kB / 0.6979 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.5806, allocations: 10.48 kB / 0.6979 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.5808, allocations: 76.38 kB / 0.698 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5808, allocations: 2.469 kB / 0.698 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5808, allocations: 0 / 0.698 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5808, allocations: 3.984 kB / 0.698 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.581, allocations: 169.7 kB / 0.6981 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.581, allocations: 0 / 0.6981 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.581, allocations: 9.406 kB / 0.6981 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.581, allocations: 3.938 kB / 0.6981 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5811, allocations: 10.23 kB / 0.6982 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5811, allocations: 3.938 kB / 0.6982 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5811, allocations: 4 kB / 0.6982 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.5812, allocations: 157.6 kB / 0.6983 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.5813, allocations: 81.09 kB / 0.6984 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.5813, allocations: 6.062 kB / 0.6984 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.5813, allocations: 0 / 0.6984 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.5814, allocations: 10.23 kB / 0.6984 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.5814, allocations: 3 kB / 0.6984 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.5814, allocations: 84.12 kB / 0.6985 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5814, allocations: 0 / 0.6985 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000475/0.5819, allocations: 155.1 kB / 0.6986 GB, free: 12.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0007913/0.5827, allocations: 334.4 kB / 0.699 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.5829, allocations: 42.27 kB / 0.699 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5829, allocations: 2.531 kB / 0.699 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.5829, allocations: 18.33 kB / 0.699 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.5832, allocations: 12 kB / 0.699 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.5837, allocations: 165.2 kB / 0.6992 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.584, allocations: 0.6887 MB / 0.6999 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.394e-05/0.5841, allocations: 22.48 kB / 0.6999 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.5841, allocations: 19.44 kB / 0.6999 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5841, allocations: 0 / 0.6999 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.008206/0.5923, allocations: 3.668 MB / 0.7035 GB, free: 7.566 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.62095594778657]