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.001399/0.001399, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001686/0.001686, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2688/0.2688, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 79.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2232/0.573, allocations: 168.7 MB / 0.7255 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.5837, allocations: 6.822 MB / 0.7321 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.5843, allocations: 27.75 kB / 0.7322 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.5855, allocations: 413.5 kB / 0.7326 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.5917, allocations: 2.399 MB / 0.7349 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3408/0.9324, allocations: 2.357 MB / 0.7372 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.9351, allocations: 2.21 MB / 0.7394 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/0.9358, allocations: 0.5053 MB / 0.7399 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.9395, allocations: 1.878 MB / 0.7417 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.9408, allocations: 0.8908 MB / 0.7426 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.9409, allocations: 96.42 kB / 0.7427 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006851/0.9478, allocations: 4.264 MB / 0.7468 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.9482, allocations: 436.2 kB / 0.7472 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.9488, allocations: 467.2 kB / 0.7477 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.9553, allocations: 3.689 MB / 0.7513 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9553, allocations: 1 kB / 0.7513 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9553, allocations: 1.203 kB / 0.7513 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.9554, allocations: 0 / 0.7513 GB, free: 2.879 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.004312/0.9597, allocations: 1.693 MB / 0.7529 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9597, allocations: 10.06 kB / 0.753 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.9599, allocations: 127.2 kB / 0.7531 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.9603, allocations: 116.5 kB / 0.7532 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.9614, allocations: 0.5635 MB / 0.7537 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.9615, allocations: 169.2 kB / 0.7539 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.9616, allocations: 68.47 kB / 0.754 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.9635, allocations: 1.568 MB / 0.7555 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.9635, allocations: 3.953 kB / 0.7555 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.9636, allocations: 34.19 kB / 0.7555 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-05/0.9637, allocations: 60.64 kB / 0.7556 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.9654, allocations: 1.156 MB / 0.7567 GB, free: 16.91 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.005852/0.9712, allocations: 3.8 MB / 0.7604 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.9727, allocations: 0.7845 MB / 0.7612 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.9733, allocations: 404.3 kB / 0.7616 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.9738, allocations: 212.4 kB / 0.7618 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.9739, allocations: 47.38 kB / 0.7618 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/0.9739, allocations: 0 / 0.7618 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01271/0.9866, allocations: 3.948 MB / 0.7657 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.9867, allocations: 112.2 kB / 0.7658 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.9875, allocations: 0.6757 MB / 0.7664 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.9876, allocations: 41.58 kB / 0.7665 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.9879, allocations: 399.8 kB / 0.7669 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.9881, allocations: 302.9 kB / 0.7672 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.9885, allocations: 196.4 kB / 0.7673 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.9887, allocations: 388.5 kB / 0.7677 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.9896, allocations: 494.8 kB / 0.7682 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.9907, allocations: 0.8107 MB / 0.769 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.9927, allocations: 1.287 MB / 0.7702 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9927, allocations: 0 / 0.7702 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003102/0.9958, allocations: 1.667 MB / 0.7719 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.9958, allocations: 8.594 kB / 0.7719 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.9958, allocations: 8.188 kB / 0.7719 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006754/1.003, allocations: 1.314 MB / 0.7732 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/1.003, allocations: 154.2 kB / 0.7733 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/1.006, allocations: 1.529 MB / 0.7748 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/1.007, allocations: 52.66 kB / 0.7749 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.007, allocations: 53.92 kB / 0.7749 GB, free: 12.63 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.0006241/1.008, allocations: 300.9 kB / 0.7752 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/1.008, allocations: 89.41 kB / 0.7753 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.011, allocations: 1.676 MB / 0.7769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.011, allocations: 9.281 kB / 0.7769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.011, allocations: 2.281 kB / 0.7769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.011, allocations: 6.734 kB / 0.7769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/1.016, allocations: 2.374 MB / 0.7793 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.016, allocations: 9.422 kB / 0.7793 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.017, allocations: 259.3 kB / 0.7795 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/1.019, allocations: 379.9 kB / 0.7799 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/1.019, allocations: 30.88 kB / 0.7799 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/1.021, allocations: 2.242 MB / 0.7821 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.021, allocations: 8.281 kB / 0.7821 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/1.025, allocations: 2.035 MB / 0.7841 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/1.026, allocations: 220.7 kB / 0.7843 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.026, allocations: 24.25 kB / 0.7843 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/1.027, allocations: 56.09 kB / 0.7844 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.027, allocations: 63.84 kB / 0.7844 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/1.027, allocations: 45.84 kB / 0.7845 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006431/1.027, allocations: 0.4955 MB / 0.785 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.027, allocations: 0 / 0.785 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001975/1.029, allocations: 0.6978 MB / 0.7856 GB, free: 9.602 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.006506/1.036, allocations: 3.287 MB / 0.7889 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002714/1.039, allocations: 1.187 MB / 0.79 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.039, allocations: 4.125 kB / 0.79 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.04, allocations: 0.6954 MB / 0.7907 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.043, allocations: 0.5287 MB / 0.7912 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.059, allocations: 9.691 MB / 0.8007 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.059, allocations: 451.1 kB / 0.8011 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001133/1.061, allocations: 370.1 kB / 0.8015 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/1.061, allocations: 335.5 kB / 0.8018 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/1.061, allocations: 1.203 kB / 0.8018 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.161, allocations: 45.07 MB / 0.8458 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.24, allocations: 4.062 kB / 0.8458 GB, free: 11.92 MB / 0.6231 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.980204795021564]