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.001827/0.001827, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002105/0.002105, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2235/0.2235, allocations: 46.91 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1388, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5302/0.669, allocations: 194.7 MB / 0.7462 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.6795, allocations: 7.461 MB / 0.7535 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007335/0.6802, allocations: 27.75 kB / 0.7535 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.6816, allocations: 461.3 kB / 0.7539 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.6876, allocations: 2.373 MB / 0.7563 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.6935, allocations: 2.314 MB / 0.7585 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.6965, allocations: 2.2 MB / 0.7607 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.6974, allocations: 0.5328 MB / 0.7612 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.7015, allocations: 1.861 MB / 0.763 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.7029, allocations: 0.9189 MB / 0.7639 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.7031, allocations: 92 kB / 0.764 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.7132, allocations: 5.397 MB / 0.7693 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006161/0.7139, allocations: 430.9 kB / 0.7697 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007692/0.7146, allocations: 0.5329 MB / 0.7702 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0076/0.7222, allocations: 3.849 MB / 0.774 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7222, allocations: 4 kB / 0.774 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7222, allocations: 4 kB / 0.774 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.7222, allocations: 0 / 0.774 GB, free: 2.141 MB / 0.5762 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.00462/0.7269, allocations: 1.78 MB / 0.7757 GB, free: 312 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.7269, allocations: 12.03 kB / 0.7757 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.284e-05/0.727, allocations: 18 kB / 0.7757 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.7272, allocations: 126.5 kB / 0.7758 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.7277, allocations: 115.3 kB / 0.776 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.7288, allocations: 0.6214 MB / 0.7766 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.729, allocations: 117.4 kB / 0.7767 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.7291, allocations: 68 kB / 0.7767 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.7311, allocations: 1.159 MB / 0.7779 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.7312, allocations: 8 kB / 0.7779 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.7313, allocations: 35.92 kB / 0.7779 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.7313, allocations: 61.97 kB / 0.778 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.7333, allocations: 1.163 MB / 0.7791 GB, free: 12.69 MB / 0.5919 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.007151/0.7405, allocations: 4.972 MB / 0.784 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.7423, allocations: 0.7791 MB / 0.7847 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006906/0.743, allocations: 410 kB / 0.7851 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.7446, allocations: 1.626 MB / 0.7867 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.7447, allocations: 51.06 kB / 0.7868 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.7447, allocations: 0 / 0.7868 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0143/0.759, allocations: 4.021 MB / 0.7907 GB, free: 80 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7591, allocations: 111.5 kB / 0.7908 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.76, allocations: 0.6681 MB / 0.7914 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.7601, allocations: 41.7 kB / 0.7915 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.7605, allocations: 396.4 kB / 0.7919 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.7608, allocations: 301.5 kB / 0.7921 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.7611, allocations: 198.5 kB / 0.7923 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.7614, allocations: 390.8 kB / 0.7927 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.7624, allocations: 494.6 kB / 0.7932 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.7638, allocations: 0.7523 MB / 0.7939 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.7662, allocations: 1.289 MB / 0.7952 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.7662, allocations: 8 kB / 0.7952 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003739/0.7699, allocations: 1.658 MB / 0.7968 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.77, allocations: 13.72 kB / 0.7968 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.77, allocations: 8 kB / 0.7968 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007497/0.7775, allocations: 1.308 MB / 0.7981 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.7782, allocations: 163.7 kB / 0.7983 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.781, allocations: 1.518 MB / 0.7997 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/0.782, allocations: 59.91 kB / 0.7998 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7821, allocations: 51.98 kB / 0.7998 GB, free: 6.383 MB / 0.6075 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.0005532/0.7826, allocations: 299.6 kB / 0.8001 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.7829, allocations: 87.48 kB / 0.8002 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.7865, allocations: 1.674 MB / 0.8018 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.7866, allocations: 15.94 kB / 0.8019 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7866, allocations: 0 / 0.8019 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.7866, allocations: 7.969 kB / 0.8019 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.7914, allocations: 2.628 MB / 0.8044 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7914, allocations: 0 / 0.8044 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.7927, allocations: 259.7 kB / 0.8047 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.7945, allocations: 376.4 kB / 0.805 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/0.7946, allocations: 35.97 kB / 0.8051 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.7976, allocations: 2.345 MB / 0.8074 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7976, allocations: 4.031 kB / 0.8074 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.8019, allocations: 2.033 MB / 0.8094 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.8026, allocations: 296.4 kB / 0.8096 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.8027, allocations: 20 kB / 0.8097 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/0.8035, allocations: 55.95 kB / 0.8097 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.8037, allocations: 64.84 kB / 0.8098 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.8038, allocations: 45.84 kB / 0.8098 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007672/0.8046, allocations: 0.4951 MB / 0.8103 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8046, allocations: 0 / 0.8103 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002461/0.807, allocations: 0.6974 MB / 0.811 GB, free: 10.64 MB / 0.6231 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.006724/0.8137, allocations: 3.29 MB / 0.8142 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.8167, allocations: 1.182 MB / 0.8153 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.8167, allocations: 4.125 kB / 0.8154 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.8185, allocations: 0.6929 MB / 0.816 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.8211, allocations: 0.5258 MB / 0.8165 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.8404, allocations: 9.675 MB / 0.826 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.8411, allocations: 1.043 MB / 0.827 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001119/0.8422, allocations: 362.8 kB / 0.8274 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.8428, allocations: 331.3 kB / 0.8277 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.8428, allocations: 3.938 kB / 0.8277 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.205, allocations: 44.09 MB / 0.8707 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.99, allocations: 4.062 kB / 0.8707 GB, free: 221.8 MB / 0.6387 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: 19.173998007026967]