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.001481/0.001481, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001582/0.001582, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 14.85 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.2298/0.2298, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.002196/0.002196, allocations: 79.88 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1271, allocations: 66.05 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5115/0.6387, allocations: 194.7 MB / 0.7463 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.6495, allocations: 7.457 MB / 0.7536 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008324/0.6503, allocations: 27.75 kB / 0.7536 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.6517, allocations: 465.4 kB / 0.754 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007497/0.6592, allocations: 2.378 MB / 0.7564 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006837/0.6661, allocations: 2.31 MB / 0.7586 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.6695, allocations: 2.204 MB / 0.7608 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.6708, allocations: 0.5327 MB / 0.7613 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/0.6758, allocations: 1.861 MB / 0.7631 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.6778, allocations: 0.9189 MB / 0.764 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.6782, allocations: 92 kB / 0.7641 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.6887, allocations: 5.399 MB / 0.7694 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008589/0.6896, allocations: 434.8 kB / 0.7698 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.6907, allocations: 0.529 MB / 0.7703 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009405/0.7001, allocations: 3.852 MB / 0.7741 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7001, allocations: 0 / 0.7741 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7001, allocations: 4 kB / 0.7741 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.926e-05/0.7002, allocations: 4 kB / 0.7741 GB, free: 1.766 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.005157/0.7053, allocations: 1.769 MB / 0.7758 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7054, allocations: 12.03 kB / 0.7758 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.113e-05/0.7054, allocations: 22 kB / 0.7758 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/0.7057, allocations: 126.4 kB / 0.7759 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004881/0.7061, allocations: 115.3 kB / 0.7761 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.7073, allocations: 0.6214 MB / 0.7767 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.7075, allocations: 117.4 kB / 0.7768 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.7076, allocations: 75.97 kB / 0.7768 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.7099, allocations: 1.151 MB / 0.778 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.7099, allocations: 8 kB / 0.778 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.7101, allocations: 35.92 kB / 0.778 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-05/0.7102, allocations: 61.95 kB / 0.7781 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.7126, allocations: 1.163 MB / 0.7792 GB, free: 12.32 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.00827/0.7208, allocations: 4.967 MB / 0.7841 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.7227, allocations: 0.7873 MB / 0.7848 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.7234, allocations: 402.2 kB / 0.7852 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.725, allocations: 1.622 MB / 0.7868 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.725, allocations: 51.06 kB / 0.7868 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.424e-06/0.725, allocations: 4 kB / 0.7868 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0145/0.7395, allocations: 4.015 MB / 0.7908 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.7396, allocations: 111.5 kB / 0.7909 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/0.7406, allocations: 0.6642 MB / 0.7915 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.7408, allocations: 45.7 kB / 0.7916 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.7411, allocations: 396.4 kB / 0.7919 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.7415, allocations: 297.5 kB / 0.7922 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/0.7419, allocations: 198.5 kB / 0.7924 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.7421, allocations: 390.8 kB / 0.7928 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.7432, allocations: 497.7 kB / 0.7933 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.7446, allocations: 0.7484 MB / 0.794 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.7472, allocations: 1.293 MB / 0.7953 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7472, allocations: 4 kB / 0.7953 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003872/0.751, allocations: 1.661 MB / 0.7969 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7511, allocations: 8 kB / 0.7969 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.7511, allocations: 11.94 kB / 0.7969 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007456/0.7585, allocations: 1.312 MB / 0.7982 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.7592, allocations: 159.7 kB / 0.7983 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.7622, allocations: 1.518 MB / 0.7998 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/0.7631, allocations: 55.97 kB / 0.7999 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.7633, allocations: 51.98 kB / 0.7999 GB, free: 6.027 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.0005814/0.7639, allocations: 297.5 kB / 0.8002 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.7641, allocations: 91.47 kB / 0.8003 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.7678, allocations: 1.668 MB / 0.8019 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.7679, allocations: 19.92 kB / 0.8019 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7679, allocations: 0 / 0.8019 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7679, allocations: 3.984 kB / 0.8019 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.7728, allocations: 2.628 MB / 0.8045 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.7728, allocations: 5.812 kB / 0.8045 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.7741, allocations: 259.7 kB / 0.8048 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.7759, allocations: 368.5 kB / 0.8051 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.776, allocations: 35.97 kB / 0.8051 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.779, allocations: 2.358 MB / 0.8075 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.779, allocations: 9.406 kB / 0.8075 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.7833, allocations: 2.033 MB / 0.8094 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/0.784, allocations: 292.4 kB / 0.8097 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.7841, allocations: 20 kB / 0.8097 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.785, allocations: 55.94 kB / 0.8098 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.7852, allocations: 64.86 kB / 0.8099 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.7853, allocations: 43.97 kB / 0.8099 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007232/0.786, allocations: 0.4951 MB / 0.8104 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.786, allocations: 3.938 kB / 0.8104 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002094/0.7881, allocations: 0.6935 MB / 0.8111 GB, free: 10.28 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.006818/0.7949, allocations: 3.281 MB / 0.8143 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.798, allocations: 1.186 MB / 0.8154 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.7981, allocations: 4 kB / 0.8154 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.8, allocations: 0.6891 MB / 0.8161 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.8029, allocations: 0.5245 MB / 0.8166 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.8229, allocations: 9.674 MB / 0.8261 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.8238, allocations: 1.047 MB / 0.8271 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001157/0.8249, allocations: 372.4 kB / 0.8274 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.8255, allocations: 327.3 kB / 0.8278 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of SimCode: time 9.31e-07/0.8255, allocations: 0 / 0.8278 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3201/1.146, allocations: 44.08 MB / 0.8708 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.68, allocations: 16.75 kB / 0.8708 GB, free: 221.3 MB / 0.6387 GB " [Timeout remaining time 645] (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: 18.689116335008293]