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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.323/1.323, allocations: 207.6 MB / 232.5 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 52.36 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08124/0.08295, allocations: 49.12 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03531/0.1183, allocations: 26.7 MB / 418.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.1214, allocations: 2.247 MB / 421.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1215, allocations: 0 / 421.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1219, allocations: 63.64 kB / 421.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.1223, allocations: 159.1 kB / 421.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.1372, allocations: 6.173 MB / 427.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.1377, allocations: 310.9 kB / 427.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1378, allocations: 9.125 kB / 427.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.138, allocations: 143.5 kB / 427.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1382, allocations: 131.5 kB / 428 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1383, allocations: 12 kB / 428 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.155, allocations: 9.518 MB / 437.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1552, allocations: 67.8 kB / 437.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1553, allocations: 91.64 kB / 437.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009527/0.1648, allocations: 4.693 MB / 442.4 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1649, allocations: 3.984 kB / 442.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1649, allocations: 0 / 442.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1649, allocations: 0 / 442.4 MB, free: 6.262 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.003066/0.1679, allocations: 1.134 MB / 443.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.168, allocations: 8.031 kB / 443.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.168, allocations: 8.516 kB / 443.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.168, allocations: 58.72 kB / 443.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1682, allocations: 32.16 kB / 443.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1685, allocations: 210.8 kB / 443.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1685, allocations: 16.33 kB / 443.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.1685, allocations: 16 kB / 443.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.1692, allocations: 289.4 kB / 444.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1693, allocations: 0 / 444.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1693, allocations: 8 kB / 444.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.1693, allocations: 11.88 kB / 444.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.1701, allocations: 307.8 kB / 444.5 MB, free: 4.066 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.001508/0.1716, allocations: 0.8361 MB / 445.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.1724, allocations: 237.2 kB / 445.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.1727, allocations: 129.6 kB / 445.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.1898, allocations: 12.85 MB / 458.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1899, allocations: 34.56 kB / 458.6 MB, free: 3.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.1899, allocations: 0 / 458.6 MB, free: 3.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00298/0.1929, allocations: 0.6998 MB / 459.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1929, allocations: 81.11 kB / 459.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.193, allocations: 121.8 kB / 459.5 MB, free: 2.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.1931, allocations: 33.7 kB / 459.5 MB, free: 2.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.1932, allocations: 108.9 kB / 459.6 MB, free: 2.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1933, allocations: 138.8 kB / 459.7 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1934, allocations: 65.67 kB / 459.8 MB, free: 2.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1936, allocations: 334.8 kB / 460.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.194, allocations: 131.9 kB / 460.3 MB, free: 1.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.1945, allocations: 211.6 kB / 460.5 MB, free: 1.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.1955, allocations: 351.5 kB / 460.8 MB, free: 1.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1955, allocations: 0 / 460.8 MB, free: 1.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001202/0.1967, allocations: 417.3 kB / 461.2 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1967, allocations: 16.16 kB / 461.2 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1967, allocations: 0 / 461.2 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1968, allocations: 15.86 kB / 461.2 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.1972, allocations: 91.88 kB / 461.3 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1972, allocations: 0 / 461.3 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1975, allocations: 23.94 kB / 461.4 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.1976, allocations: 31.95 kB / 461.4 MB, free: 428 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.0001662/0.1978, allocations: 149.6 kB / 461.5 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.1979, allocations: 19.91 kB / 461.6 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.1984, allocations: 178.3 kB / 461.7 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1984, allocations: 8 kB / 461.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1984, allocations: 0 / 461.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1984, allocations: 4 kB / 461.7 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1625/0.3609, allocations: 0.7663 MB / 462.5 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3609, allocations: 2.109 kB / 462.5 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.3614, allocations: 81.08 kB / 462.6 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.3614, allocations: 2.812 kB / 462.6 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3614, allocations: 12.7 kB / 462.6 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3614, allocations: 3.484 kB / 462.6 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3614, allocations: 5.781 kB / 462.6 MB, free: 65.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3632, allocations: 0.7006 MB / 463.3 MB, free: 65.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3633, allocations: 127.4 kB / 463.4 MB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.3634, allocations: 11.56 kB / 463.4 MB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3638, allocations: 22.92 kB / 463.5 MB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.3638, allocations: 27.11 kB / 463.5 MB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3639, allocations: 17.92 kB / 463.5 MB, free: 65.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.364, allocations: 97.83 kB / 463.6 MB, free: 65.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.364, allocations: 2.438 kB / 463.6 MB, free: 65.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003192/0.3672, allocations: 0.9372 MB / 464.6 MB, free: 65.47 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.006023/0.3732, allocations: 2.416 MB / 467 MB, free: 64.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3743, allocations: 337.6 kB / 467.3 MB, free: 64.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3743, allocations: 0 / 467.3 MB, free: 64.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.3747, allocations: 171.3 kB / 467.5 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.0007197/0.3755, allocations: 96.69 kB / 467.6 MB, free: 64.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.3811, allocations: 3.156 MB / 470.7 MB, free: 62.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.3813, allocations: 0.7383 MB / 471.5 MB, free: 61.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.3816, allocations: 84.61 kB / 471.5 MB, free: 61.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3818, allocations: 70.8 kB / 471.6 MB, free: 61.85 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3818, allocations: 0 / 471.6 MB, free: 61.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/0.4346, allocations: 34.01 MB / 0.4938 GB, free: 35.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/9.877, allocations: 23.94 kB / 0.4938 GB, free: 35.26 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.818875781958923]