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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001394/0.001394, allocations: 215.8 kB / 24.53 MB, free: 4.012 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.5 MB / 258.2 MB, free: 8.027 MB / 206.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.2257/0.2257, allocations: 46.93 MB / 361.6 MB, free: 4.195 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3106, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5311/0.8417, allocations: 195 MB / 0.7519 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.8511, allocations: 7.52 MB / 0.7593 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.8522, allocations: 32.62 kB / 0.7593 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.8535, allocations: 451.7 kB / 0.7598 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.8595, allocations: 2.421 MB / 0.7621 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005816/0.8653, allocations: 2.36 MB / 0.7644 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003953/0.8693, allocations: 2.222 MB / 0.7666 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.8704, allocations: 0.5134 MB / 0.7671 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004951/0.8754, allocations: 1.883 MB / 0.7689 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.8772, allocations: 0.9245 MB / 0.7698 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.8776, allocations: 94 kB / 0.7699 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009863/0.8875, allocations: 5.46 MB / 0.7753 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.8883, allocations: 437.2 kB / 0.7757 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.8895, allocations: 0.534 MB / 0.7762 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008256/0.8978, allocations: 3.843 MB / 0.7799 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8978, allocations: 3.438 kB / 0.78 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8978, allocations: 0 / 0.78 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.8978, allocations: 0.9375 kB / 0.78 GB, free: 1.184 MB / 0.5606 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.004136/0.9019, allocations: 1.7 MB / 0.7816 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.902, allocations: 11.12 kB / 0.7816 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.916e-05/0.902, allocations: 18.44 kB / 0.7816 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.9022, allocations: 128.5 kB / 0.7818 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.9026, allocations: 113.7 kB / 0.7819 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.9037, allocations: 0.5606 MB / 0.7824 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.9039, allocations: 171.9 kB / 0.7826 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.904, allocations: 71.97 kB / 0.7827 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.9057, allocations: 1.162 MB / 0.7838 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.9057, allocations: 3.906 kB / 0.7838 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.9058, allocations: 32.06 kB / 0.7838 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.36e-05/0.9059, allocations: 58.69 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.9076, allocations: 1.164 MB / 0.785 GB, free: 15.7 MB / 0.5762 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.006244/0.9138, allocations: 4.923 MB / 0.7898 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9153, allocations: 0.787 MB / 0.7906 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.9159, allocations: 407.2 kB / 0.791 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.9166, allocations: 216 kB / 0.7912 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.9166, allocations: 44.62 kB / 0.7912 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/0.9166, allocations: 0.9062 kB / 0.7912 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01338/0.93, allocations: 3.939 MB / 0.7951 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.9301, allocations: 115.3 kB / 0.7952 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.9311, allocations: 0.666 MB / 0.7958 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.9312, allocations: 42.3 kB / 0.7959 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.9316, allocations: 393.8 kB / 0.7963 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.9319, allocations: 305.1 kB / 0.7965 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.9323, allocations: 197.1 kB / 0.7967 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.9325, allocations: 392 kB / 0.7971 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.9335, allocations: 492 kB / 0.7976 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.9348, allocations: 0.7661 MB / 0.7983 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.9371, allocations: 1.28 MB / 0.7996 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9371, allocations: 1.203 kB / 0.7996 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003344/0.9404, allocations: 1.662 MB / 0.8012 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.9405, allocations: 9.531 kB / 0.8012 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9405, allocations: 8.5 kB / 0.8012 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/0.9474, allocations: 1.31 MB / 0.8025 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/0.948, allocations: 153.8 kB / 0.8026 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.9506, allocations: 1.532 MB / 0.8041 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.9515, allocations: 52.86 kB / 0.8042 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.9517, allocations: 52.91 kB / 0.8042 GB, free: 9.18 MB / 0.5762 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.0006513/0.9523, allocations: 303.6 kB / 0.8045 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.9527, allocations: 90.67 kB / 0.8046 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.956, allocations: 1.679 MB / 0.8063 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.9561, allocations: 10.62 kB / 0.8063 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9561, allocations: 8 kB / 0.8063 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.9561, allocations: 3.984 kB / 0.8063 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.9607, allocations: 2.537 MB / 0.8088 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.9607, allocations: 1.203 kB / 0.8088 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.9619, allocations: 255.9 kB / 0.809 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.9636, allocations: 380.8 kB / 0.8094 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/0.9637, allocations: 31.97 kB / 0.8094 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.9663, allocations: 2.248 MB / 0.8116 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9664, allocations: 7.125 kB / 0.8116 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.9703, allocations: 2.033 MB / 0.8136 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/0.9709, allocations: 219.3 kB / 0.8138 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.9712, allocations: 24 kB / 0.8138 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/0.972, allocations: 51.95 kB / 0.8139 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.9722, allocations: 68.81 kB / 0.8139 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.9723, allocations: 43.97 kB / 0.814 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007216/0.973, allocations: 0.499 MB / 0.8145 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.973, allocations: 4 kB / 0.8145 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00233/0.9753, allocations: 0.6907 MB / 0.8151 GB, free: 1.113 MB / 0.5762 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.006834/0.9822, allocations: 3.29 MB / 0.8183 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003062/0.9852, allocations: 1.192 MB / 0.8195 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9852, allocations: 1.094 kB / 0.8195 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.9871, allocations: 0.6892 MB / 0.8202 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.9901, allocations: 0.5285 MB / 0.8207 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.01, allocations: 9.69 MB / 0.8302 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.011, allocations: 1.043 MB / 0.8312 GB, free: 424 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001419/1.013, allocations: 369.4 kB / 0.8315 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/1.013, allocations: 339.1 kB / 0.8319 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/1.013, allocations: 0 / 0.8319 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08712/1.101, allocations: 45.04 MB / 0.8758 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.4, allocations: 11.27 kB / 0.8758 GB, free: 3 MB / 0.6387 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.28155508398777]