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.0008244/0.0008244, allocations: 87.62 kB / 21.43 MB, free: 3.125 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.00341/0.00341, allocations: 157.3 kB / 24.69 MB, free: 8.883 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.7984/0.7984, allocations: 158.6 MB / 186.5 MB, free: 3.039 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 9.91e-07/9.91e-07, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.03e-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.2292/0.2292, allocations: 131.4 MB / 429.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005936/0.2298, allocations: 0.5496 MB / 430.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.2299, allocations: 0 / 430.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.2302, allocations: 59.66 kB / 430.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.2305, allocations: 166.9 kB / 430.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.2331, allocations: 1.11 MB / 431.7 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.2334, allocations: 338.6 kB / 432 MB, free: 8.809 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.2335, allocations: 5.641 kB / 432 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.2337, allocations: 195.5 kB / 432.2 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2339, allocations: 111.7 kB / 432.3 MB, free: 8.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2339, allocations: 15.94 kB / 432.4 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2353, allocations: 1.372 MB / 433.7 MB, free: 7.113 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.2354, allocations: 67.84 kB / 433.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.2355, allocations: 80.81 kB / 433.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2365, allocations: 1.099 MB / 435 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2365, allocations: 0 / 435 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2365, allocations: 0 / 435 MB, free: 5.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2365, allocations: 4 kB / 435 MB, free: 5.863 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.001093/0.2376, allocations: 0.6058 MB / 435.6 MB, free: 5.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2377, allocations: 11.98 kB / 435.6 MB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.2377, allocations: 58.67 kB / 435.7 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.2378, allocations: 24.83 kB / 435.7 MB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.238, allocations: 149.6 kB / 435.8 MB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.238, allocations: 12.7 kB / 435.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.238, allocations: 21.25 kB / 435.9 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2384, allocations: 368.2 kB / 436.2 MB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2385, allocations: 0 / 436.2 MB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2385, allocations: 8 kB / 436.2 MB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2385, allocations: 4 kB / 436.2 MB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.2389, allocations: 263.7 kB / 436.5 MB, free: 4.258 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.0009095/0.2398, allocations: 0.655 MB / 437.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2401, allocations: 205.2 kB / 437.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2403, allocations: 134.2 kB / 437.5 MB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.2405, allocations: 47.95 kB / 437.5 MB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2405, allocations: 46.5 kB / 437.6 MB, free: 3.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.2405, allocations: 0 / 437.6 MB, free: 3.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001358/0.2418, allocations: 0.6695 MB / 438.2 MB, free: 2.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2419, allocations: 82.61 kB / 438.3 MB, free: 2.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.2422, allocations: 129.7 kB / 438.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2423, allocations: 33.7 kB / 438.5 MB, free: 2.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.2423, allocations: 108.9 kB / 438.6 MB, free: 2.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.2424, allocations: 134.8 kB / 438.7 MB, free: 1.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.2425, allocations: 73.64 kB / 438.8 MB, free: 1.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.2425, allocations: 323.2 kB / 439.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2427, allocations: 131.9 kB / 439.2 MB, free: 1.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.243, allocations: 207.6 kB / 439.4 MB, free: 1.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.2434, allocations: 367.5 kB / 439.8 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2434, allocations: 0 / 439.8 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005352/0.244, allocations: 413.2 kB / 440.2 MB, free: 356 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.244, allocations: 4 kB / 440.2 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.244, allocations: 4 kB / 440.2 MB, free: 348 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.244, allocations: 4 kB / 440.2 MB, free: 344 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2442, allocations: 87.88 kB / 440.3 MB, free: 256 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2443, allocations: 7.938 kB / 440.3 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2444, allocations: 28.16 kB / 440.3 MB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.2444, allocations: 15.98 kB / 440.3 MB, free: 204 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 9.634e-05/0.2445, allocations: 149.6 kB / 440.5 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.2446, allocations: 19.91 kB / 440.5 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.2448, allocations: 165.6 kB / 440.7 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2448, allocations: 4 kB / 440.7 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2448, allocations: 0 / 440.7 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2448, allocations: 7.984 kB / 440.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009258/0.2457, allocations: 0.6896 MB / 441.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2457, allocations: 4 kB / 441.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.2459, allocations: 79.88 kB / 441.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.246, allocations: 4.156 kB / 441.5 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.246, allocations: 19.92 kB / 441.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.246, allocations: 4 kB / 441.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.246, allocations: 3.938 kB / 441.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.2468, allocations: 0.6993 MB / 442.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.2469, allocations: 43.8 kB / 442.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.2469, allocations: 11.94 kB / 442.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2471, allocations: 27.97 kB / 442.3 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2471, allocations: 27.89 kB / 442.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2471, allocations: 12 kB / 442.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.2472, allocations: 99.33 kB / 442.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2472, allocations: 0 / 442.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.2475, allocations: 143.7 kB / 442.5 MB, free: 13.89 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.001203/0.2487, allocations: 1.401 MB / 443.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.2492, allocations: 327.8 kB / 444.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2492, allocations: 3.938 kB / 444.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2494, allocations: 170.3 kB / 444.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.2499, allocations: 98 kB / 444.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.2528, allocations: 2.77 MB / 447.3 MB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.2529, allocations: 124.9 kB / 447.4 MB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.2531, allocations: 77.89 kB / 447.5 MB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2532, allocations: 64.47 kB / 447.6 MB, free: 8.652 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2532, allocations: 4 kB / 447.6 MB, free: 8.648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.2751, allocations: 9.302 MB / 456.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.978, allocations: 0 / 456.9 MB, free: 15.29 MB / 426.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.mat","/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: 8.489873238839209]