Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001601/0.001601, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.226, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03094/0.257, allocations: 24.01 MB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.2598, allocations: 2.006 MB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.2599, allocations: 0 / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.2602, allocations: 55.66 kB / 458 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.2606, allocations: 159.1 kB / 458.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01582/0.2764, allocations: 6.52 MB / 464.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.277, allocations: 346.5 kB / 465 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.2771, allocations: 9.75 kB / 465 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.2774, allocations: 147.5 kB / 465.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2776, allocations: 135.5 kB / 465.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.2776, allocations: 12 kB / 465.3 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/0.2943, allocations: 9.303 MB / 474.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2944, allocations: 67.8 kB / 474.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.2946, allocations: 87.7 kB / 474.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3053, allocations: 4.689 MB / 479.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3053, allocations: 0 / 479.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3053, allocations: 0 / 479.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3053, allocations: 4 kB / 479.4 MB, free: 6.848 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.003568/0.3088, allocations: 1.09 MB / 480.5 MB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3089, allocations: 19.97 kB / 480.5 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.3e-05/0.3089, allocations: 4.516 kB / 480.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.109e-05/0.309, allocations: 46.73 kB / 480.6 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3091, allocations: 27.84 kB / 480.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3094, allocations: 164.9 kB / 480.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3094, allocations: 8.328 kB / 480.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.3095, allocations: 23.95 kB / 480.8 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.3102, allocations: 392.2 kB / 481.2 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3103, allocations: 4 kB / 481.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3103, allocations: 15.94 kB / 481.2 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3103, allocations: 7.984 kB / 481.2 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007866/0.3111, allocations: 311.7 kB / 481.5 MB, free: 4.645 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.001478/0.3126, allocations: 0.6901 MB / 482.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.3133, allocations: 237.1 kB / 482.4 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3136, allocations: 125.6 kB / 482.6 MB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.3251, allocations: 2.694 MB / 485.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.3251, allocations: 38.56 kB / 485.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3251, allocations: 0 / 485.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002827/0.3279, allocations: 0.7025 MB / 486 MB, free: 76 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.328, allocations: 89.05 kB / 486.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3281, allocations: 140.7 kB / 486.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.3282, allocations: 37.7 kB / 486.3 MB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3283, allocations: 116.9 kB / 486.4 MB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3284, allocations: 134.8 kB / 486.5 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3285, allocations: 77.56 kB / 486.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3286, allocations: 338.7 kB / 486.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.329, allocations: 131.9 kB / 487 MB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.3295, allocations: 207.6 kB / 487.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.3304, allocations: 359.5 kB / 487.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3304, allocations: 0 / 487.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001183/0.3316, allocations: 424.5 kB / 488 MB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3316, allocations: 8 kB / 488 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3316, allocations: 7.922 kB / 488 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3317, allocations: 4 kB / 488 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.3322, allocations: 91.81 kB / 488.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3322, allocations: 4 kB / 488.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3325, allocations: 32.16 kB / 488.2 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3325, allocations: 23.98 kB / 488.2 MB, free: 13.79 MB / 398.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.0001589/0.3327, allocations: 145.7 kB / 488.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3328, allocations: 19.91 kB / 488.3 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.3333, allocations: 190.7 kB / 488.5 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3333, allocations: 4 kB / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3333, allocations: 0 / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3333, allocations: 0 / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3351, allocations: 0.7159 MB / 489.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3351, allocations: 0 / 489.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.3355, allocations: 83.8 kB / 489.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3355, allocations: 4 kB / 489.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3355, allocations: 20.14 kB / 489.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3355, allocations: 0 / 489.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3356, allocations: 7.938 kB / 489.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3371, allocations: 0.73 MB / 490.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3372, allocations: 43.89 kB / 490.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.3373, allocations: 8 kB / 490.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3377, allocations: 23.97 kB / 490.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.3377, allocations: 27.89 kB / 490.2 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.3377, allocations: 16 kB / 490.2 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.073e-05/0.3378, allocations: 115.2 kB / 490.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3378, allocations: 4.062 kB / 490.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002583/0.3404, allocations: 0.9589 MB / 491.3 MB, free: 10.56 MB / 398.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.006151/0.3466, allocations: 2.405 MB / 493.7 MB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3477, allocations: 335.5 kB / 494 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3477, allocations: 0 / 494 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.3482, allocations: 168.5 kB / 494.2 MB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.349, allocations: 110.4 kB / 494.3 MB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.356, allocations: 3.258 MB / 497.5 MB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3561, allocations: 129.8 kB / 497.7 MB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.3565, allocations: 90.31 kB / 497.8 MB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3567, allocations: 75.41 kB / 497.8 MB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3567, allocations: 0 / 497.8 MB, free: 3.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/0.4217, allocations: 33.85 MB / 0.5192 GB, free: 2.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.85, allocations: 8.062 kB / 0.5192 GB, free: 2.07 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.913942344952375]