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.001667/0.001667, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001307/0.001307, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.407/1.407, allocations: 230.2 MB / 254.5 MB, free: 15.26 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.0995, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2082/0.3077, allocations: 26.75 MB / 453.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.3108, allocations: 2.248 MB / 455.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.3109, allocations: 1.438 kB / 455.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.3113, allocations: 70.69 kB / 455.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.3118, allocations: 171.4 kB / 455.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.3312, allocations: 6.535 MB / 462.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.3317, allocations: 343.4 kB / 462.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.3318, allocations: 5.688 kB / 462.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3321, allocations: 147.7 kB / 462.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3324, allocations: 131.7 kB / 463 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.3324, allocations: 12.34 kB / 463.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.3515, allocations: 9.644 MB / 472.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.3517, allocations: 74.61 kB / 472.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3519, allocations: 106.4 kB / 472.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.3639, allocations: 4.739 MB / 477.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3639, allocations: 0 / 477.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3639, allocations: 0 / 477.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3639, allocations: 1.375 kB / 477.6 MB, free: 14.2 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.004459/0.3683, allocations: 1.183 MB / 478.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3684, allocations: 8.031 kB / 478.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.458e-05/0.3685, allocations: 54.67 kB / 478.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3686, allocations: 33.08 kB / 478.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.369, allocations: 223.5 kB / 479.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.369, allocations: 12.27 kB / 479.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.369, allocations: 23.95 kB / 479.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.3698, allocations: 281.5 kB / 479.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3698, allocations: 0 / 479.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3698, allocations: 8.5 kB / 479.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.3698, allocations: 10 kB / 479.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/0.3706, allocations: 319.7 kB / 479.8 MB, free: 12.07 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.001649/0.3723, allocations: 0.8207 MB / 480.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.373, allocations: 241.1 kB / 480.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3733, allocations: 137.2 kB / 480.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/0.3902, allocations: 12.83 MB / 493.8 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.3902, allocations: 38.5 kB / 493.8 MB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.3902, allocations: 0 / 493.8 MB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00288/0.3931, allocations: 0.7088 MB / 494.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3932, allocations: 85.05 kB / 494.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3933, allocations: 137.8 kB / 494.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3933, allocations: 33.7 kB / 494.8 MB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3934, allocations: 112.9 kB / 494.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3935, allocations: 146.7 kB / 495 MB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3937, allocations: 69.69 kB / 495.1 MB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3938, allocations: 334.8 kB / 495.4 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.3942, allocations: 131.9 kB / 495.6 MB, free: 9.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.3947, allocations: 211.6 kB / 495.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.3957, allocations: 362.6 kB / 496.1 MB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3957, allocations: 0 / 496.1 MB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001165/0.3968, allocations: 419.7 kB / 496.5 MB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3968, allocations: 4 kB / 496.5 MB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3968, allocations: 4 kB / 496.5 MB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3969, allocations: 7.938 kB / 496.5 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.3973, allocations: 91.86 kB / 496.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3973, allocations: 7.938 kB / 496.6 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.3976, allocations: 24.2 kB / 496.7 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.3977, allocations: 21.55 kB / 496.7 MB, free: 8.41 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.0001576/0.3978, allocations: 141.7 kB / 496.8 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.398, allocations: 23.86 kB / 496.8 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.3985, allocations: 205.6 kB / 497 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3985, allocations: 4 kB / 497 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3985, allocations: 1.828 kB / 497 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3985, allocations: 0 / 497 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.4003, allocations: 0.7714 MB / 497.8 MB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4003, allocations: 4 kB / 497.8 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.4007, allocations: 84.72 kB / 497.9 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4007, allocations: 7.938 kB / 497.9 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.4007, allocations: 11.98 kB / 497.9 MB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.4007, allocations: 7.938 kB / 497.9 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4007, allocations: 0 / 497.9 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.4023, allocations: 0.7266 MB / 498.7 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4024, allocations: 124.9 kB / 498.8 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.4025, allocations: 8 kB / 498.8 MB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4028, allocations: 19.97 kB / 498.8 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4029, allocations: 31.97 kB / 498.8 MB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4029, allocations: 16 kB / 498.9 MB, free: 6.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.857e-05/0.403, allocations: 117.4 kB / 499 MB, free: 5.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.403, allocations: 0 / 499 MB, free: 5.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00328/0.4063, allocations: 0.9589 MB / 499.9 MB, free: 5.027 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.006305/0.4126, allocations: 2.432 MB / 0.4906 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4136, allocations: 334.4 kB / 0.4909 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4136, allocations: 4 kB / 0.4909 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.414, allocations: 175.6 kB / 0.4911 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.4148, allocations: 98.03 kB / 0.4912 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.4212, allocations: 3.252 MB / 0.4943 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.4216, allocations: 0.7413 MB / 0.4951 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.4219, allocations: 88.67 kB / 0.4952 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.4221, allocations: 71.41 kB / 0.4952 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4221, allocations: 0 / 0.4952 GB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06934/0.4915, allocations: 33.15 MB / 0.5276 GB, free: 12.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.4/9.891, allocations: 0.5625 kB / 0.5276 GB, free: 12.56 MB / 446.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.109625963959843]