Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0008605/0.0008605, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004286/0.004286, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8128/0.8128, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.353e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.228/0.228, allocations: 131.4 MB / 429.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.2287, allocations: 0.5496 MB / 430.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.2287, allocations: 4 kB / 430.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.2291, allocations: 59.66 kB / 430.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.2294, allocations: 162.9 kB / 430.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.232, allocations: 1.118 MB / 431.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.2323, allocations: 334.7 kB / 432 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.2323, allocations: 5.641 kB / 432 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.2325, allocations: 195.5 kB / 432.2 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2327, allocations: 115.7 kB / 432.4 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.2327, allocations: 12 kB / 432.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2343, allocations: 1.364 MB / 433.7 MB, free: 7.109 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2344, allocations: 71.84 kB / 433.8 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.2345, allocations: 84.69 kB / 433.9 MB, free: 6.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.2357, allocations: 1.099 MB / 435 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2357, allocations: 0 / 435 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2357, allocations: 0 / 435 MB, free: 5.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2357, allocations: 4 kB / 435 MB, free: 5.852 MB / 394.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.001177/0.2369, allocations: 0.6019 MB / 435.6 MB, free: 5.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.237, allocations: 15.98 kB / 435.6 MB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.237, allocations: 50.73 kB / 435.6 MB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.2371, allocations: 24.83 kB / 435.7 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2373, allocations: 157.5 kB / 435.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2373, allocations: 9.922 kB / 435.8 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.2374, allocations: 23.94 kB / 435.9 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.2378, allocations: 368.2 kB / 436.2 MB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2378, allocations: 0 / 436.2 MB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.2378, allocations: 4 kB / 436.2 MB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.2378, allocations: 8 kB / 436.2 MB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.2382, allocations: 263.7 kB / 436.5 MB, free: 4.246 MB / 394.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.001027/0.2392, allocations: 0.6511 MB / 437.1 MB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.2396, allocations: 209.2 kB / 437.3 MB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.2398, allocations: 126.3 kB / 437.5 MB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.2399, allocations: 59.95 kB / 437.5 MB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.24, allocations: 38.44 kB / 437.6 MB, free: 3.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.24, allocations: 1.594 kB / 437.6 MB, free: 3.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001317/0.2413, allocations: 0.6734 MB / 438.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2413, allocations: 81.11 kB / 438.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.2414, allocations: 125.8 kB / 438.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.2414, allocations: 33.64 kB / 438.5 MB, free: 2.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.2415, allocations: 108.9 kB / 438.6 MB, free: 2.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.2415, allocations: 138.8 kB / 438.7 MB, free: 1.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.2416, allocations: 74.02 kB / 438.8 MB, free: 1.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.2417, allocations: 322.8 kB / 439.1 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.2419, allocations: 131.9 kB / 439.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2421, allocations: 207.5 kB / 439.4 MB, free: 1.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.2426, allocations: 367.6 kB / 439.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2426, allocations: 0 / 439.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005298/0.2431, allocations: 409.2 kB / 440.2 MB, free: 348 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2431, allocations: 8 kB / 440.2 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2431, allocations: 0 / 440.2 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2431, allocations: 4 kB / 440.2 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2434, allocations: 87.88 kB / 440.3 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2434, allocations: 7.938 kB / 440.3 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2435, allocations: 28.16 kB / 440.3 MB, free: 212 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.2435, allocations: 19.98 kB / 440.3 MB, free: 192 kB / 394.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 0.0001046/0.2436, allocations: 149.6 kB / 440.5 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.2437, allocations: 15.91 kB / 440.5 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2439, allocations: 169.7 kB / 440.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2439, allocations: 4 kB / 440.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2439, allocations: 0 / 440.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2439, allocations: 3.984 kB / 440.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008907/0.2448, allocations: 0.6934 MB / 441.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2448, allocations: 0 / 441.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.245, allocations: 83.88 kB / 441.5 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.245, allocations: 4.156 kB / 441.5 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.245, allocations: 19.92 kB / 441.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.245, allocations: 0 / 441.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.245, allocations: 4 kB / 441.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.2458, allocations: 0.7032 MB / 442.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.2459, allocations: 43.8 kB / 442.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2459, allocations: 15.92 kB / 442.2 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2461, allocations: 23.97 kB / 442.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.2461, allocations: 27.89 kB / 442.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2461, allocations: 16 kB / 442.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.2461, allocations: 95.33 kB / 442.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2461, allocations: 0 / 442.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.2465, allocations: 147.7 kB / 442.5 MB, free: 13.87 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.001175/0.2477, allocations: 1.393 MB / 443.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.2483, allocations: 331.7 kB / 444.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2483, allocations: 0 / 444.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2485, allocations: 170.3 kB / 444.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2489, allocations: 99.17 kB / 444.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2516, allocations: 2.77 MB / 447.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.2516, allocations: 128.9 kB / 447.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.2518, allocations: 77.89 kB / 447.5 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.252, allocations: 64.45 kB / 447.6 MB, free: 8.641 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.252, allocations: 4 kB / 447.6 MB, free: 8.637 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.2723, allocations: 9.3 MB / 456.9 MB, free: 15.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.675, allocations: 0 / 456.9 MB, free: 15.28 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.323921085335314]