Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002028/0.002028, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.518/2.518, allocations: 227.4 MB / 246.9 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3493/0.3493, allocations: 46.11 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 79.73 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2061, allocations: 62.44 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.8331/1.039, allocations: 193.3 MB / 0.6574 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/1.059, allocations: 7.696 MB / 0.6649 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/1.061, allocations: 31.75 kB / 0.665 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/1.063, allocations: 398.1 kB / 0.6654 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/1.074, allocations: 2.077 MB / 0.6674 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0111/1.085, allocations: 2.047 MB / 0.6694 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006362/1.091, allocations: 3.218 MB / 0.6725 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/1.093, allocations: 0.5132 MB / 0.673 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007094/1.1, allocations: 1.647 MB / 0.6746 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/1.103, allocations: 0.8955 MB / 0.6755 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005959/1.104, allocations: 48 kB / 0.6756 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/1.121, allocations: 5.56 MB / 0.681 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/1.123, allocations: 386.9 kB / 0.6814 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/1.124, allocations: 0.4899 MB / 0.6818 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009391/1.134, allocations: 2.717 MB / 0.6845 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/1.134, allocations: 0 / 0.6845 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/1.134, allocations: 3.938 kB / 0.6845 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.402e-05/1.134, allocations: 4 kB / 0.6845 GB, free: 6.668 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008137/1.142, allocations: 1.735 MB / 0.6862 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.453e-05/1.142, allocations: 8.031 kB / 0.6862 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000919/1.143, allocations: 118.7 kB / 0.6863 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/1.145, allocations: 0.5819 MB / 0.6869 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/1.145, allocations: 121.4 kB / 0.687 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.145, allocations: 67.98 kB / 0.6871 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/1.149, allocations: 1.162 MB / 0.6882 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/1.149, allocations: 7.938 kB / 0.6882 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/1.149, allocations: 31.98 kB / 0.6882 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/1.149, allocations: 65.91 kB / 0.6883 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/1.153, allocations: 1.159 MB / 0.6894 GB, free: 1.453 MB / 0.5137 GB 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.01314/1.166, allocations: 4.966 MB / 0.6943 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/1.169, allocations: 0.825 MB / 0.6951 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.171, allocations: 418.3 kB / 0.6955 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/1.173, allocations: 1.626 MB / 0.6971 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.065e-05/1.173, allocations: 47.11 kB / 0.6971 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 6.252e-06/1.173, allocations: 0 / 0.6971 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.03373/1.207, allocations: 4.02 MB / 0.701 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.207, allocations: 111.5 kB / 0.7011 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.209, allocations: 0.6602 MB / 0.7018 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/1.209, allocations: 45.7 kB / 0.7018 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/1.21, allocations: 387.5 kB / 0.7022 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/1.21, allocations: 291.8 kB / 0.7025 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008127/1.211, allocations: 190.5 kB / 0.7027 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003369/1.211, allocations: 386.8 kB / 0.703 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/1.213, allocations: 0.4899 MB / 0.7035 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006688/1.22, allocations: 0.7521 MB / 0.7042 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4111/1.631, allocations: 1.281 MB / 0.7055 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/1.631, allocations: 2.75 kB / 0.7055 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.008678/1.64, allocations: 1.686 MB / 0.7071 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/1.64, allocations: 10.72 kB / 0.7072 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.64, allocations: 11.2 kB / 0.7072 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/1.654, allocations: 1.299 MB / 0.7084 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.655, allocations: 158.5 kB / 0.7086 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/1.66, allocations: 1.533 MB / 0.7101 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.663, allocations: 84.56 kB / 0.7102 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.663, allocations: 56.97 kB / 0.7102 GB, free: 195.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0009623/1.664, allocations: 291.6 kB / 0.7105 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.664, allocations: 88.59 kB / 0.7106 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006188/1.671, allocations: 1.678 MB / 0.7122 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.671, allocations: 10.19 kB / 0.7122 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.671, allocations: 10.59 kB / 0.7122 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.671, allocations: 6.25 kB / 0.7122 GB, free: 194.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008304/1.679, allocations: 2.626 MB / 0.7148 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.679, allocations: 1.344 kB / 0.7148 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.682, allocations: 258.5 kB / 0.7151 GB, free: 193.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/1.685, allocations: 373.1 kB / 0.7154 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/1.686, allocations: 34.41 kB / 0.7154 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/1.69, allocations: 2.255 MB / 0.7176 GB, free: 191.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.69, allocations: 2.719 kB / 0.7177 GB, free: 191.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.697, allocations: 2.03 MB / 0.7196 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/1.698, allocations: 292.7 kB / 0.7199 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/1.698, allocations: 26.31 kB / 0.7199 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.7, allocations: 68.28 kB / 0.72 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.7, allocations: 71.2 kB / 0.7201 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.7, allocations: 46.67 kB / 0.7201 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001216/1.702, allocations: 0.4981 MB / 0.7206 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.702, allocations: 3.875 kB / 0.7206 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00405/1.706, allocations: 0.6892 MB / 0.7213 GB, free: 190.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004095/1.71, allocations: 0.8091 MB / 0.7221 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005707/1.716, allocations: 1.243 MB / 0.7233 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/1.716, allocations: 1.125 kB / 0.7233 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.719, allocations: 0.7046 MB / 0.724 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/1.724, allocations: 0.4917 MB / 0.7245 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/1.732, allocations: 2.528 MB / 0.7269 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/1.733, allocations: 1.042 MB / 0.7279 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007472/1.734, allocations: 98.09 kB / 0.728 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.734, allocations: 3.938 kB / 0.728 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.05859/1.793, allocations: 28.53 MB / 0.7559 GB, free: 163.1 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p