Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.0007778/0.0007778, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000767/0.000767, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8809/0.8809, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.963e-05, allocations: 8.891 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2706/0.2707, allocations: 133.3 MB / 457.9 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2718, allocations: 1.434 MB / 459.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.2719, allocations: 1.375 kB / 459.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.2722, allocations: 61.81 kB / 459.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.2726, allocations: 171.4 kB / 459.5 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2744, allocations: 1.077 MB / 460.6 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.2748, allocations: 360.8 kB / 460.9 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2748, allocations: 7.812 kB / 461 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.2751, allocations: 212.8 kB / 461.2 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2752, allocations: 118.6 kB / 461.3 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2752, allocations: 13.81 kB / 461.3 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.2768, allocations: 1.37 MB / 462.7 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.2769, allocations: 84.95 kB / 462.7 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.277, allocations: 75.53 kB / 462.8 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2782, allocations: 1.134 MB / 464 MB, free: 5.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2782, allocations: 0 / 464 MB, free: 5.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2782, allocations: 0 / 464 MB, free: 5.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2782, allocations: 0 / 464 MB, free: 5.301 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00113/0.2793, allocations: 0.6347 MB / 464.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2794, allocations: 7.844 kB / 464.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2794, allocations: 57.77 kB / 464.7 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.2795, allocations: 19.47 kB / 464.7 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2797, allocations: 164.8 kB / 464.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2797, allocations: 18.11 kB / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.2798, allocations: 20.55 kB / 464.9 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.2802, allocations: 362 kB / 465.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2802, allocations: 0 / 465.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2802, allocations: 12.66 kB / 465.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.2802, allocations: 10.72 kB / 465.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.2806, allocations: 266.3 kB / 465.5 MB, free: 4.516 MB / 410.7 MB 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.000895/0.2815, allocations: 0.6512 MB / 466.2 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.2818, allocations: 212.6 kB / 466.4 MB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.282, allocations: 128.9 kB / 466.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.2821, allocations: 46.38 kB / 466.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.2821, allocations: 46.06 kB / 466.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.2822, allocations: 0 / 466.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001293/0.2834, allocations: 0.6924 MB / 467.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2835, allocations: 79.14 kB / 467.4 MB, free: 3.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.2835, allocations: 144.8 kB / 467.5 MB, free: 3.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2836, allocations: 32.67 kB / 467.5 MB, free: 3.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.2836, allocations: 115.5 kB / 467.6 MB, free: 3.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.2837, allocations: 132.5 kB / 467.8 MB, free: 3.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.2837, allocations: 68.47 kB / 467.8 MB, free: 3.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.2838, allocations: 328.7 kB / 468.2 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.284, allocations: 134.9 kB / 468.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2842, allocations: 214 kB / 468.5 MB, free: 3.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.2846, allocations: 359.4 kB / 468.8 MB, free: 3.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2846, allocations: 0 / 468.8 MB, free: 3.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004985/0.2851, allocations: 411.6 kB / 469.2 MB, free: 2.996 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2851, allocations: 8 kB / 469.3 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2851, allocations: 0 / 469.3 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2852, allocations: 6.812 kB / 469.3 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2854, allocations: 91.83 kB / 469.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2854, allocations: 5.859 kB / 469.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2855, allocations: 28.16 kB / 469.4 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2855, allocations: 16.78 kB / 469.4 MB, free: 2.984 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.2856, allocations: 148.9 kB / 469.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.2857, allocations: 19.22 kB / 469.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.2859, allocations: 180.2 kB / 469.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2859, allocations: 6.031 kB / 469.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2859, allocations: 0 / 469.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2859, allocations: 2.906 kB / 469.8 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.2868, allocations: 0.713 MB / 470.5 MB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2868, allocations: 6.844 kB / 470.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.287, allocations: 73.17 kB / 470.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.287, allocations: 6.656 kB / 470.5 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.287, allocations: 13 kB / 470.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.287, allocations: 5.172 kB / 470.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.287, allocations: 5.719 kB / 470.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.2877, allocations: 0.7179 MB / 471.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.2878, allocations: 40.91 kB / 471.3 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2878, allocations: 15.67 kB / 471.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.288, allocations: 24.62 kB / 471.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.288, allocations: 23.36 kB / 471.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.288, allocations: 14.03 kB / 471.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.288, allocations: 108.3 kB / 471.5 MB, free: 2.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.288, allocations: 0 / 471.5 MB, free: 2.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.2885, allocations: 159.6 kB / 471.7 MB, free: 2.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.2895, allocations: 1.393 MB / 473.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.29, allocations: 332.6 kB / 473.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.29, allocations: 1.094 kB / 473.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2902, allocations: 173.9 kB / 473.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.2906, allocations: 98.91 kB / 473.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.2931, allocations: 2.865 MB / 476.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.907e-05/0.2932, allocations: 126.4 kB / 476.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.2934, allocations: 77.66 kB / 476.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2935, allocations: 70.22 kB / 476.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2935, allocations: 2.156 kB / 476.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3149, allocations: 9.718 MB / 486.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/6.891, allocations: 8.875 kB / 486.5 MB, free: 13.93 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.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: 8.514049051329494]