Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 187.5 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 47.92 kB / 371.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2131, allocations: 52.19 MB / 423.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03023/0.2433, allocations: 23.82 MB / 447.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.2461, allocations: 1.99 MB / 449.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.2462, allocations: 8 kB / 449.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.2466, allocations: 67.59 kB / 449.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.247, allocations: 147.1 kB / 449.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01528/0.2622, allocations: 6.488 MB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.2627, allocations: 318.8 kB / 456.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.2628, allocations: 9.297 kB / 456.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.263, allocations: 135.6 kB / 456.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.2632, allocations: 127.5 kB / 456.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.2632, allocations: 12 kB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.2787, allocations: 9.268 MB / 465.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.2789, allocations: 67.84 kB / 465.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.279, allocations: 83.7 kB / 465.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009672/0.2887, allocations: 4.669 MB / 470.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2887, allocations: 0 / 470.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2887, allocations: 0 / 470.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2887, allocations: 0 / 470.5 MB, free: 15.12 MB / 382.1 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.003174/0.2919, allocations: 1.062 MB / 471.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2919, allocations: 11.97 kB / 471.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.292, allocations: 12.52 kB / 471.6 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.292, allocations: 50.67 kB / 471.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2922, allocations: 28.2 kB / 471.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2924, allocations: 161 kB / 471.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2924, allocations: 8.328 kB / 471.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.2925, allocations: 23.98 kB / 471.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.2933, allocations: 392.2 kB / 472.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2933, allocations: 0 / 472.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.2933, allocations: 11.94 kB / 472.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.2933, allocations: 7.938 kB / 472.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.2941, allocations: 315.8 kB / 472.6 MB, free: 12.95 MB / 382.1 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.001405/0.2955, allocations: 0.682 MB / 473.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.2962, allocations: 237.1 kB / 473.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2965, allocations: 129.6 kB / 473.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.3084, allocations: 2.698 MB / 476.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3084, allocations: 38.56 kB / 476.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.3084, allocations: 0 / 476.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002847/0.3113, allocations: 0.6976 MB / 477.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3113, allocations: 81.11 kB / 477.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3115, allocations: 130 kB / 477.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.3115, allocations: 29.7 kB / 477.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.3116, allocations: 108.9 kB / 477.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.3117, allocations: 134.8 kB / 477.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3118, allocations: 73.62 kB / 477.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.312, allocations: 330.8 kB / 477.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.3124, allocations: 135.9 kB / 478.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.3129, allocations: 211.5 kB / 478.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.3138, allocations: 364.8 kB / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3138, allocations: 0 / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.3149, allocations: 413.2 kB / 479 MB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.315, allocations: 4.219 kB / 479 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.315, allocations: 11.94 kB / 479.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.315, allocations: 11.92 kB / 479.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3155, allocations: 87.88 kB / 479.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3155, allocations: 4 kB / 479.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.3158, allocations: 19.98 kB / 479.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.3158, allocations: 19.98 kB / 479.2 MB, free: 6.152 MB / 382.1 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 0.0001502/0.316, allocations: 141.7 kB / 479.3 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3161, allocations: 27.89 kB / 479.4 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.3166, allocations: 193.8 kB / 479.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3166, allocations: 4 kB / 479.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3166, allocations: 0 / 479.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3166, allocations: 4 kB / 479.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3183, allocations: 0.7002 MB / 480.3 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3183, allocations: 8 kB / 480.3 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.3187, allocations: 83.81 kB / 480.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.3187, allocations: 4 kB / 480.4 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.3188, allocations: 11.98 kB / 480.4 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3188, allocations: 4 kB / 480.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3188, allocations: 4 kB / 480.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.3203, allocations: 0.6996 MB / 481.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3204, allocations: 47.83 kB / 481.1 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3205, allocations: 12.06 kB / 481.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.3208, allocations: 15.98 kB / 481.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3208, allocations: 35.88 kB / 481.2 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.3209, allocations: 19.98 kB / 481.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.061e-05/0.321, allocations: 95.27 kB / 481.3 MB, free: 3.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.321, allocations: 0 / 481.3 MB, free: 3.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002518/0.3235, allocations: 0.9511 MB / 482.2 MB, free: 2.984 MB / 382.1 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 (37): * Single equations (assignments): 37 * 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.006079/0.3296, allocations: 2.412 MB / 484.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3306, allocations: 342.3 kB / 485 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3306, allocations: 0 / 485 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.3311, allocations: 176.4 kB / 485.2 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.3318, allocations: 95.83 kB / 485.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.3378, allocations: 3.138 MB / 488.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3379, allocations: 124.6 kB / 488.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3383, allocations: 89.98 kB / 488.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3385, allocations: 71.39 kB / 488.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3385, allocations: 0 / 488.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/0.4057, allocations: 33.28 MB / 0.5097 GB, free: 11.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.55, allocations: 13.56 kB / 0.5097 GB, free: 11.26 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 16.49997925804928]