Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001552/0.001552, allocations: 116 kB / 18.45 MB, free: 4.625 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.001735/0.001735, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.6 MB / 231.8 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 59.86 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09704, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0357/0.1327, allocations: 26.7 MB / 418.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1358, allocations: 2.231 MB / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.1359, allocations: 3.938 kB / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.1362, allocations: 63.64 kB / 420.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1367, allocations: 163.2 kB / 420.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.1529, allocations: 6.173 MB / 426.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.1534, allocations: 306.9 kB / 427 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.1535, allocations: 13.12 kB / 427 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1538, allocations: 131.6 kB / 427.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.154, allocations: 131.5 kB / 427.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.154, allocations: 12 kB / 427.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01769/0.1717, allocations: 9.526 MB / 436.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1719, allocations: 67.84 kB / 436.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.172, allocations: 95.58 kB / 437 MB, free: 11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.1847, allocations: 4.689 MB / 441.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1847, allocations: 4 kB / 441.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1847, allocations: 0 / 441.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1847, allocations: 0 / 441.7 MB, free: 6.297 MB / 366.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.003505/0.1882, allocations: 1.142 MB / 442.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1883, allocations: 8.031 kB / 442.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.287e-05/0.1883, allocations: 50.73 kB / 442.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1885, allocations: 32.34 kB / 442.9 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1888, allocations: 214.8 kB / 443.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1888, allocations: 12.33 kB / 443.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.1889, allocations: 19.98 kB / 443.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.1896, allocations: 285.4 kB / 443.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1896, allocations: 0 / 443.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1896, allocations: 8 kB / 443.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1897, allocations: 4 kB / 443.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.1904, allocations: 319.6 kB / 443.7 MB, free: 4.105 MB / 366.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.001572/0.192, allocations: 0.8283 MB / 444.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.1928, allocations: 241.2 kB / 444.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.1931, allocations: 125.6 kB / 444.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/0.2104, allocations: 12.85 MB / 457.8 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.2104, allocations: 34.5 kB / 457.8 MB, free: 3.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.2104, allocations: 0 / 457.8 MB, free: 3.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002969/0.2134, allocations: 0.7037 MB / 458.5 MB, free: 2.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2135, allocations: 81.11 kB / 458.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2136, allocations: 125.8 kB / 458.7 MB, free: 2.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2136, allocations: 37.7 kB / 458.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.2137, allocations: 108.9 kB / 458.9 MB, free: 2.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.2138, allocations: 142.7 kB / 459 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.214, allocations: 61.69 kB / 459.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2141, allocations: 330.8 kB / 459.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.2145, allocations: 135.9 kB / 459.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.215, allocations: 207.6 kB / 459.7 MB, free: 1.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.2159, allocations: 359.5 kB / 460.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2159, allocations: 0 / 460.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001214/0.2171, allocations: 421.2 kB / 460.5 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2171, allocations: 8 kB / 460.5 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2171, allocations: 0 / 460.5 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.2171, allocations: 4 kB / 460.5 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.2176, allocations: 91.81 kB / 460.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2176, allocations: 7.938 kB / 460.6 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.2179, allocations: 32.16 kB / 460.6 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.218, allocations: 15.98 kB / 460.6 MB, free: 472 kB / 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.0001756/0.2181, allocations: 145.7 kB / 460.8 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.2183, allocations: 19.91 kB / 460.8 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.2188, allocations: 178.5 kB / 461 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2188, allocations: 7.938 kB / 461 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2188, allocations: 7.938 kB / 461 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2188, allocations: 4 kB / 461 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1841/0.4029, allocations: 0.7707 MB / 461.8 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.4029, allocations: 1.719 kB / 461.8 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.4033, allocations: 82.48 kB / 461.8 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.4033, allocations: 5.156 kB / 461.8 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.4034, allocations: 11.92 kB / 461.9 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4034, allocations: 3.547 kB / 461.9 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4034, allocations: 2.125 kB / 461.9 MB, free: 65.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.405, allocations: 0.7037 MB / 462.6 MB, free: 65.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.4051, allocations: 128.3 kB / 462.7 MB, free: 65.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4052, allocations: 8.406 kB / 462.7 MB, free: 65.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.4055, allocations: 26.61 kB / 462.7 MB, free: 65.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4056, allocations: 24.02 kB / 462.7 MB, free: 65.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.4056, allocations: 14.55 kB / 462.8 MB, free: 65.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.4057, allocations: 101.5 kB / 462.9 MB, free: 65.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4057, allocations: 0.5312 kB / 462.9 MB, free: 65.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002946/0.4086, allocations: 0.9366 MB / 463.8 MB, free: 65.46 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.005944/0.4146, allocations: 2.409 MB / 466.2 MB, free: 64.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.4156, allocations: 338.7 kB / 466.5 MB, free: 64.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4156, allocations: 5.125 kB / 466.5 MB, free: 64.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.4161, allocations: 167.8 kB / 466.7 MB, free: 64.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.4168, allocations: 91.12 kB / 466.8 MB, free: 64.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.4223, allocations: 3.165 MB / 470 MB, free: 62.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.4225, allocations: 0.7399 MB / 470.7 MB, free: 61.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.4229, allocations: 82.39 kB / 470.8 MB, free: 61.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.423, allocations: 68.52 kB / 470.8 MB, free: 61.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.423, allocations: 0 / 470.8 MB, free: 61.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.4856, allocations: 33.98 MB / 0.493 GB, free: 35.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/9.631, allocations: 15.92 kB / 0.493 GB, free: 35.3 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.793453950900584]