Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 208.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 46.97 MB / 360.9 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.88 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2197/0.5737, allocations: 168.7 MB / 0.7254 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.5837, allocations: 6.825 MB / 0.732 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.5845, allocations: 27.75 kB / 0.7321 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.5857, allocations: 417.6 kB / 0.7325 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.5925, allocations: 2.396 MB / 0.7348 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3536/0.9461, allocations: 2.365 MB / 0.7371 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.949, allocations: 2.22 MB / 0.7393 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008201/0.9498, allocations: 0.5045 MB / 0.7398 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.9536, allocations: 1.876 MB / 0.7416 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.9549, allocations: 0.9214 MB / 0.7425 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.9551, allocations: 91.47 kB / 0.7426 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006654/0.9617, allocations: 4.398 MB / 0.7469 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.9623, allocations: 437.1 kB / 0.7473 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.963, allocations: 467.5 kB / 0.7478 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.969, allocations: 3.689 MB / 0.7514 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.969, allocations: 1.094 kB / 0.7514 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.051e-06/0.969, allocations: 0.8125 kB / 0.7514 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.969, allocations: 0 / 0.7514 GB, free: 3.086 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.003706/0.9727, allocations: 1.689 MB / 0.753 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.9727, allocations: 11.97 kB / 0.753 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.9728, allocations: 133.7 kB / 0.7532 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.9732, allocations: 119.4 kB / 0.7533 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.9742, allocations: 0.5571 MB / 0.7538 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.9743, allocations: 166.6 kB / 0.754 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.9745, allocations: 73.02 kB / 0.754 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.9761, allocations: 1.559 MB / 0.7556 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.9762, allocations: 7.016 kB / 0.7556 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.9763, allocations: 36.8 kB / 0.7556 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.9763, allocations: 60.34 kB / 0.7557 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.9778, allocations: 1.151 MB / 0.7568 GB, free: 17.12 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.006378/0.9842, allocations: 3.801 MB / 0.7605 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.986, allocations: 0.7885 MB / 0.7613 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.9865, allocations: 402.3 kB / 0.7616 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006559/0.9872, allocations: 217.2 kB / 0.7619 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.9872, allocations: 48.16 kB / 0.7619 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/0.9872, allocations: 0 / 0.7619 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01371/1.001, allocations: 3.943 MB / 0.7658 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.001, allocations: 114.4 kB / 0.7659 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008634/1.002, allocations: 0.6731 MB / 0.7665 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/1.002, allocations: 45.67 kB / 0.7666 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/1.002, allocations: 395.4 kB / 0.7669 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/1.003, allocations: 304.5 kB / 0.7672 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/1.003, allocations: 195.3 kB / 0.7674 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.003, allocations: 393.9 kB / 0.7678 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/1.004, allocations: 490.8 kB / 0.7683 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.005, allocations: 0.8098 MB / 0.7691 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/1.007, allocations: 1.283 MB / 0.7703 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.007, allocations: 0.9688 kB / 0.7703 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003124/1.01, allocations: 1.667 MB / 0.7719 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.01, allocations: 8.906 kB / 0.7719 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.01, allocations: 11.52 kB / 0.772 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007015/1.017, allocations: 1.306 MB / 0.7732 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/1.018, allocations: 158.8 kB / 0.7734 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/1.02, allocations: 1.526 MB / 0.7749 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.021, allocations: 50.34 kB / 0.7749 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.022, allocations: 57.09 kB / 0.775 GB, free: 12.84 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.0005548/1.022, allocations: 294.4 kB / 0.7753 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/1.022, allocations: 97.11 kB / 0.7753 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/1.026, allocations: 1.67 MB / 0.777 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.026, allocations: 13.94 kB / 0.777 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.026, allocations: 0 / 0.777 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.026, allocations: 6.766 kB / 0.777 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/1.03, allocations: 2.377 MB / 0.7793 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.03, allocations: 7.562 kB / 0.7793 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.031, allocations: 263.9 kB / 0.7796 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.033, allocations: 377.5 kB / 0.7799 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-05/1.033, allocations: 31.22 kB / 0.78 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/1.035, allocations: 2.244 MB / 0.7822 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.035, allocations: 3.734 kB / 0.7822 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/1.039, allocations: 2.038 MB / 0.7842 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/1.04, allocations: 216.1 kB / 0.7844 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.04, allocations: 24.38 kB / 0.7844 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/1.041, allocations: 52.09 kB / 0.7844 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.041, allocations: 64.3 kB / 0.7845 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.041, allocations: 49.67 kB / 0.7845 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006384/1.042, allocations: 0.4949 MB / 0.785 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 0.785 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002111/1.044, allocations: 0.7015 MB / 0.7857 GB, free: 9.812 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.005994/1.05, allocations: 3.293 MB / 0.7889 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002533/1.052, allocations: 1.188 MB / 0.7901 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.052, allocations: 3.094 kB / 0.7901 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/1.054, allocations: 0.6937 MB / 0.7908 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.056, allocations: 0.5192 MB / 0.7913 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.072, allocations: 9.691 MB / 0.8007 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/1.072, allocations: 453.5 kB / 0.8012 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00114/1.073, allocations: 368.8 kB / 0.8015 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.074, allocations: 331.5 kB / 0.8018 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/1.074, allocations: 3.938 kB / 0.8018 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08863/1.163, allocations: 45.45 MB / 0.8462 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.99, allocations: 3.984 kB / 0.8462 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 18.486077242007013]