Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.0008609/0.0008609, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008145/0.0008145, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8481/0.8481, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 3.938 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.18e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2973/0.2973, allocations: 133.3 MB / 457.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2984, allocations: 1.436 MB / 459.2 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.2985, allocations: 1.281 kB / 459.2 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.2988, allocations: 58.34 kB / 459.3 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.2991, allocations: 176.7 kB / 459.5 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3007, allocations: 1.064 MB / 460.5 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.301, allocations: 363.5 kB / 460.9 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.301, allocations: 7.312 kB / 460.9 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.3012, allocations: 212.3 kB / 461.1 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.3014, allocations: 123.2 kB / 461.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3014, allocations: 13.41 kB / 461.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3025, allocations: 1.373 MB / 462.6 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.3026, allocations: 81.3 kB / 462.7 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.3026, allocations: 83.55 kB / 462.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.3034, allocations: 1.124 MB / 463.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3034, allocations: 3.188 kB / 463.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3034, allocations: 0 / 463.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3034, allocations: 0 / 463.9 MB, free: 5.273 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.0009791/0.3044, allocations: 0.6353 MB / 464.5 MB, free: 4.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3045, allocations: 16.98 kB / 464.5 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.3045, allocations: 53.91 kB / 464.6 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.3046, allocations: 20.81 kB / 464.6 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3047, allocations: 156 kB / 464.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3048, allocations: 16.27 kB / 464.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3048, allocations: 22.56 kB / 464.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.3051, allocations: 368 kB / 465.2 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3051, allocations: 3.062 kB / 465.2 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3052, allocations: 7.25 kB / 465.2 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3052, allocations: 9.125 kB / 465.2 MB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.3055, allocations: 263.9 kB / 465.4 MB, free: 4.484 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.000809/0.3063, allocations: 0.6572 MB / 466.1 MB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.3067, allocations: 207 kB / 466.3 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3069, allocations: 129.1 kB / 466.4 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.307, allocations: 55.97 kB / 466.5 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.307, allocations: 40.66 kB / 466.5 MB, free: 4.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.307, allocations: 4 kB / 466.5 MB, free: 4 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001268/0.3083, allocations: 0.6877 MB / 467.2 MB, free: 3.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3083, allocations: 82.58 kB / 467.3 MB, free: 3.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.3084, allocations: 140.3 kB / 467.4 MB, free: 3.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3084, allocations: 35.8 kB / 467.5 MB, free: 3.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3084, allocations: 110 kB / 467.6 MB, free: 3.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.3085, allocations: 134.9 kB / 467.7 MB, free: 3.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.3085, allocations: 71.73 kB / 467.8 MB, free: 3.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.3086, allocations: 326.7 kB / 468.1 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.3088, allocations: 136.1 kB / 468.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.309, allocations: 204.4 kB / 468.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.3094, allocations: 365.7 kB / 468.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3094, allocations: 0 / 468.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004951/0.3099, allocations: 418.8 kB / 469.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.3099, allocations: 5 kB / 469.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3099, allocations: 3.625 kB / 469.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3099, allocations: 2.875 kB / 469.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3101, allocations: 88.8 kB / 469.3 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3102, allocations: 6.375 kB / 469.3 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3103, allocations: 28.02 kB / 469.3 MB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3103, allocations: 18.5 kB / 469.3 MB, free: 2.953 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.95e-05/0.3104, allocations: 146.7 kB / 469.5 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.3104, allocations: 19.22 kB / 469.5 MB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.3107, allocations: 185.1 kB / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3107, allocations: 2.875 kB / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3107, allocations: 0 / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3107, allocations: 5.094 kB / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.3116, allocations: 0.7106 MB / 470.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3116, allocations: 3 kB / 470.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.3118, allocations: 73.34 kB / 470.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3118, allocations: 9.781 kB / 470.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3118, allocations: 10.47 kB / 470.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3118, allocations: 8.719 kB / 470.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3118, allocations: 6.719 kB / 470.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.3126, allocations: 0.7139 MB / 471.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.3126, allocations: 44.7 kB / 471.3 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3126, allocations: 14.09 kB / 471.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3128, allocations: 20.98 kB / 471.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.3128, allocations: 27.64 kB / 471.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3129, allocations: 18.56 kB / 471.4 MB, free: 2.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.3129, allocations: 103.2 kB / 471.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3129, allocations: 0 / 471.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.3132, allocations: 157.9 kB / 471.6 MB, free: 2.055 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.001059/0.3143, allocations: 1.399 MB / 473 MB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.3148, allocations: 324.8 kB / 473.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3148, allocations: 0 / 473.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.315, allocations: 183.3 kB / 473.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3155, allocations: 103.9 kB / 473.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.318, allocations: 2.848 MB / 476.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3181, allocations: 132.5 kB / 476.6 MB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.3183, allocations: 76.34 kB / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3184, allocations: 71.52 kB / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3184, allocations: 0 / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.342, allocations: 9.731 MB / 486.5 MB, free: 13.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.339, allocations: 0 / 486.5 MB, free: 13.84 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.944340903311968]