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.001297/0.001297, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001379/0.001379, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.415/1.415, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2153/0.2153, allocations: 46.94 MB / 361.6 MB, free: 3.938 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.002208/0.002208, allocations: 75.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 66.09 MB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2028/0.5234, allocations: 168.6 MB / 0.7261 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00976/0.5331, allocations: 6.809 MB / 0.7328 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.5339, allocations: 35.69 kB / 0.7328 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5352, allocations: 409.6 kB / 0.7332 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.5415, allocations: 2.403 MB / 0.7355 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3104/0.852, allocations: 2.362 MB / 0.7378 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.8548, allocations: 2.218 MB / 0.74 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007924/0.8556, allocations: 0.5045 MB / 0.7405 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.8593, allocations: 1.874 MB / 0.7423 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.8605, allocations: 0.9198 MB / 0.7432 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.8607, allocations: 96.84 kB / 0.7433 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007309/0.868, allocations: 4.394 MB / 0.7476 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.8686, allocations: 440.6 kB / 0.748 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.8694, allocations: 464.3 kB / 0.7485 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007158/0.8765, allocations: 3.691 MB / 0.7521 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8766, allocations: 2.719 kB / 0.7521 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8766, allocations: 1.031 kB / 0.7521 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.855e-05/0.8766, allocations: 0 / 0.7521 GB, free: 2.984 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.00419/0.8808, allocations: 1.689 MB / 0.7537 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.8808, allocations: 8.781 kB / 0.7537 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.418e-05/0.8808, allocations: 19.09 kB / 0.7538 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.881, allocations: 126.6 kB / 0.7539 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.8813, allocations: 122.2 kB / 0.754 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.8823, allocations: 0.5587 MB / 0.7545 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.8824, allocations: 170.9 kB / 0.7547 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.8826, allocations: 72.19 kB / 0.7548 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.8843, allocations: 1.565 MB / 0.7563 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.8843, allocations: 7.422 kB / 0.7563 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.8844, allocations: 30.41 kB / 0.7563 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.8845, allocations: 59.58 kB / 0.7564 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.886, allocations: 1.165 MB / 0.7575 GB, free: 17.02 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.005441/0.8914, allocations: 3.806 MB / 0.7612 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.8929, allocations: 0.7884 MB / 0.762 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.8934, allocations: 401.2 kB / 0.7624 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.8939, allocations: 211 kB / 0.7626 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.894, allocations: 50.75 kB / 0.7626 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/0.894, allocations: 0 / 0.7626 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01217/0.9062, allocations: 3.945 MB / 0.7665 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.9062, allocations: 113 kB / 0.7666 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.9069, allocations: 0.661 MB / 0.7672 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.907, allocations: 45.73 kB / 0.7673 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.9072, allocations: 392.1 kB / 0.7677 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.9074, allocations: 305.5 kB / 0.768 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.9077, allocations: 197 kB / 0.7681 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9078, allocations: 390.6 kB / 0.7685 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.9087, allocations: 498.1 kB / 0.769 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.9097, allocations: 0.8071 MB / 0.7698 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.9115, allocations: 1.284 MB / 0.771 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9115, allocations: 4 kB / 0.771 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003005/0.9145, allocations: 1.665 MB / 0.7727 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.9145, allocations: 8.25 kB / 0.7727 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9145, allocations: 9.406 kB / 0.7727 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006737/0.9213, allocations: 1.305 MB / 0.774 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.9219, allocations: 153.6 kB / 0.7741 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.9243, allocations: 1.526 MB / 0.7756 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.9253, allocations: 51.09 kB / 0.7756 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.9254, allocations: 56.94 kB / 0.7757 GB, free: 12.75 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.0004945/0.9259, allocations: 304.8 kB / 0.776 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.9261, allocations: 89.75 kB / 0.7761 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.929, allocations: 1.673 MB / 0.7777 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.929, allocations: 9.75 kB / 0.7777 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.929, allocations: 0 / 0.7777 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.929, allocations: 5.906 kB / 0.7777 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/0.9329, allocations: 2.383 MB / 0.78 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9329, allocations: 2.719 kB / 0.7801 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.9341, allocations: 255.8 kB / 0.7803 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.9357, allocations: 382.8 kB / 0.7807 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.9358, allocations: 32.64 kB / 0.7807 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.9383, allocations: 2.246 MB / 0.7829 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.9383, allocations: 3.969 kB / 0.7829 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.9416, allocations: 2.036 MB / 0.7849 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.9422, allocations: 226.5 kB / 0.7851 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.9423, allocations: 24.83 kB / 0.7851 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.9431, allocations: 52.08 kB / 0.7852 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.9432, allocations: 67.16 kB / 0.7852 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/0.9433, allocations: 46.42 kB / 0.7853 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005851/0.9439, allocations: 0.4961 MB / 0.7858 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9439, allocations: 0 / 0.7858 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001819/0.9457, allocations: 0.6929 MB / 0.7864 GB, free: 9.715 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.005716/0.9514, allocations: 3.298 MB / 0.7897 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.9538, allocations: 1.183 MB / 0.7908 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9538, allocations: 7.594 kB / 0.7908 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.9553, allocations: 0.6937 MB / 0.7915 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.9576, allocations: 0.5231 MB / 0.792 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.9749, allocations: 9.685 MB / 0.8015 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.9753, allocations: 452.3 kB / 0.8019 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001095/0.9764, allocations: 374.6 kB / 0.8023 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.9769, allocations: 333.9 kB / 0.8026 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.9769, allocations: 0 / 0.8026 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/1.062, allocations: 44.94 MB / 0.8465 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.67, allocations: 10.34 kB / 0.8465 GB, free: 12.09 MB / 0.6231 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.40531986800488]