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.0009164/0.0009166, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.57 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4342/0.5466, allocations: 190.7 MB / 0.6586 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.5574, allocations: 7.595 MB / 0.666 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.5584, allocations: 23.81 kB / 0.666 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.5597, allocations: 394 kB / 0.6664 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.5654, allocations: 2.081 MB / 0.6685 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005382/0.5708, allocations: 2.047 MB / 0.6705 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.5743, allocations: 3.222 MB / 0.6736 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009847/0.5753, allocations: 0.5015 MB / 0.6741 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.5793, allocations: 1.655 MB / 0.6757 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.5809, allocations: 0.88 MB / 0.6766 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.5812, allocations: 48 kB / 0.6766 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009856/0.5911, allocations: 5.556 MB / 0.682 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/0.5918, allocations: 382.9 kB / 0.6824 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.5928, allocations: 0.5151 MB / 0.6829 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.5978, allocations: 2.705 MB / 0.6855 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5978, allocations: 0 / 0.6855 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.457e-06/0.5979, allocations: 0 / 0.6855 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.5979, allocations: 11.94 kB / 0.6856 GB, free: 10.09 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.004193/0.6021, allocations: 1.53 MB / 0.6871 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6022, allocations: 8.031 kB / 0.6871 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.6027, allocations: 118.8 kB / 0.6872 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6037, allocations: 0.5936 MB / 0.6878 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6039, allocations: 117.4 kB / 0.6879 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.6041, allocations: 67.98 kB / 0.6879 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.6061, allocations: 1.162 MB / 0.6891 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6061, allocations: 0 / 0.6891 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.6062, allocations: 31.98 kB / 0.6891 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/0.6063, allocations: 65.91 kB / 0.6892 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.6083, allocations: 1.163 MB / 0.6903 GB, free: 5.074 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.006989/0.6153, allocations: 4.974 MB / 0.6952 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.6171, allocations: 0.832 MB / 0.696 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.6178, allocations: 422.3 kB / 0.6964 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.6191, allocations: 1.626 MB / 0.698 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.6192, allocations: 43.06 kB / 0.698 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/0.6192, allocations: 4 kB / 0.698 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01415/0.6333, allocations: 4.134 MB / 0.702 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.6335, allocations: 111.5 kB / 0.7021 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.6344, allocations: 0.6719 MB / 0.7028 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6345, allocations: 41.7 kB / 0.7028 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.6348, allocations: 383.5 kB / 0.7032 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.6351, allocations: 287.9 kB / 0.7035 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.6353, allocations: 85.67 kB / 0.7036 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6355, allocations: 394.7 kB / 0.7039 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.6366, allocations: 0.4899 MB / 0.7044 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.6379, allocations: 0.756 MB / 0.7052 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.6402, allocations: 1.301 MB / 0.7064 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.6403, allocations: 4 kB / 0.7064 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003658/0.6439, allocations: 1.7 MB / 0.7081 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.644, allocations: 8 kB / 0.7081 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.644, allocations: 8 kB / 0.7081 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007934/0.6519, allocations: 1.386 MB / 0.7095 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.6527, allocations: 159.7 kB / 0.7096 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2601/0.9127, allocations: 1.531 MB / 0.7111 GB, free: 34.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.9139, allocations: 90 kB / 0.7112 GB, free: 34.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.9142, allocations: 57.22 kB / 0.7112 GB, free: 34.26 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.0006166/0.9148, allocations: 300.9 kB / 0.7115 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.9151, allocations: 82.47 kB / 0.7116 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.9189, allocations: 1.686 MB / 0.7133 GB, free: 34.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.919, allocations: 10 kB / 0.7133 GB, free: 34.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.919, allocations: 3.469 kB / 0.7133 GB, free: 34.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.919, allocations: 4.688 kB / 0.7133 GB, free: 34.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.924, allocations: 2.651 MB / 0.7159 GB, free: 33.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.924, allocations: 2.047 kB / 0.7159 GB, free: 33.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.9254, allocations: 259.7 kB / 0.7161 GB, free: 33.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.9275, allocations: 398.5 kB / 0.7165 GB, free: 33.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.9276, allocations: 37.2 kB / 0.7165 GB, free: 33.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.9299, allocations: 2.28 MB / 0.7188 GB, free: 31.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9299, allocations: 1.781 kB / 0.7188 GB, free: 31.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/0.934, allocations: 2.051 MB / 0.7208 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.9346, allocations: 291.6 kB / 0.721 GB, free: 31.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.9349, allocations: 23.77 kB / 0.7211 GB, free: 31.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.9359, allocations: 84.12 kB / 0.7211 GB, free: 31.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.9361, allocations: 62.59 kB / 0.7212 GB, free: 31.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.9363, allocations: 52.8 kB / 0.7213 GB, free: 31.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007728/0.9371, allocations: 0.4936 MB / 0.7217 GB, free: 31.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9371, allocations: 1.344 kB / 0.7217 GB, free: 31.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002085/0.9392, allocations: 0.6858 MB / 0.7224 GB, free: 31.29 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.002596/0.9418, allocations: 0.8198 MB / 0.7232 GB, free: 31.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.9446, allocations: 1.245 MB / 0.7244 GB, free: 31.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.9446, allocations: 2.531 kB / 0.7244 GB, free: 31.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.9464, allocations: 0.7034 MB / 0.7251 GB, free: 31.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.9494, allocations: 0.5009 MB / 0.7256 GB, free: 31.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.954, allocations: 2.663 MB / 0.7282 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.9545, allocations: 1.04 MB / 0.7292 GB, free: 29.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.9549, allocations: 97.55 kB / 0.7293 GB, free: 29.23 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.9549, allocations: 1.938 kB / 0.7293 GB, free: 29.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.03493/0.9899, allocations: 28.41 MB / 0.7571 GB, free: 20.54 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