Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0008055/0.0008055, allocations: 83.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.003473/0.003473, allocations: 161.9 kB / 24.69 MB, free: 9.418 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.8472/0.8472, 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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.057e-05, allocations: 6.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1414/0.1414, allocations: 45.45 MB / 343.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1448, allocations: 4.693 MB / 348.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.145, allocations: 7.938 kB / 348.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.1455, allocations: 242.4 kB / 348.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1459, allocations: 377.5 kB / 349.2 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.1594, allocations: 6.866 MB / 356.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000969/0.1604, allocations: 1.103 MB / 357.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1605, allocations: 95.17 kB / 357.3 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.165, allocations: 3.77 MB / 361 MB, free: 136 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.1654, allocations: 371 kB / 361.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.1655, allocations: 64 kB / 361.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.1765, allocations: 9.201 MB / 370.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1767, allocations: 255.3 kB / 370.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1769, allocations: 235.5 kB / 371.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.1843, allocations: 6.649 MB / 377.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1843, allocations: 0 / 377.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1843, allocations: 0 / 377.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1843, allocations: 0 / 377.8 MB, free: 15.35 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002244/0.1865, allocations: 1.308 MB / 379.1 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1866, allocations: 11.98 kB / 379.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.1866, allocations: 86.52 kB / 379.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.1868, allocations: 65.67 kB / 379.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.1874, allocations: 304.2 kB / 379.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1874, allocations: 29 kB / 379.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1874, allocations: 51.95 kB / 379.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.1883, allocations: 0.8972 MB / 380.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1883, allocations: 0 / 380.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1883, allocations: 16 kB / 380.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.1883, allocations: 12 kB / 380.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.1891, allocations: 0.7378 MB / 381.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.1951, allocations: 3.67 MB / 385 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.1958, allocations: 0.5031 MB / 385.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.1961, allocations: 246.8 kB / 385.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/0.2009, allocations: 2.569 MB / 388.3 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.201, allocations: 51.05 kB / 388.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.184e-06/0.201, allocations: 0 / 388.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.003437/0.2044, allocations: 1.889 MB / 390.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.2044, allocations: 63.91 kB / 390.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.2047, allocations: 324.1 kB / 390.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.2047, allocations: 37.7 kB / 390.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.2048, allocations: 200.7 kB / 390.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.205, allocations: 202.3 kB / 391 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2051, allocations: 114.3 kB / 391.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.2052, allocations: 346.8 kB / 391.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.2054, allocations: 241.2 kB / 391.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2058, allocations: 340.3 kB / 392.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.2065, allocations: 0.6085 MB / 392.7 MB, free: 124 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2065, allocations: 0 / 392.7 MB, free: 124 kB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001086/0.2076, allocations: 0.7534 MB / 393.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2076, allocations: 4 kB / 393.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2076, allocations: 4 kB / 393.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.2079, allocations: 110.4 kB / 393.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.2082, allocations: 127.8 kB / 393.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.2104, allocations: 3.251 MB / 396.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2106, allocations: 15.98 kB / 396.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.2107, allocations: 34.22 kB / 397 MB, free: 11.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.2109, allocations: 193.6 kB / 397.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.2111, allocations: 43.77 kB / 397.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009909/0.2121, allocations: 0.8205 MB / 398 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2121, allocations: 8 kB / 398 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.2121, allocations: 0 / 398 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007222/0.2128, allocations: 0.7611 MB / 398.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2143, allocations: 1.189 MB / 400 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.2143, allocations: 0 / 400 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.2145, allocations: 103.8 kB / 400.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.215, allocations: 152.7 kB / 400.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.2151, allocations: 15.98 kB / 400.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002788/0.2153, allocations: 0.6484 MB / 400.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2153, allocations: 0 / 400.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2164, allocations: 0.9189 MB / 401.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.2165, allocations: 35.8 kB / 401.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.2166, allocations: 16 kB / 401.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2168, allocations: 24.08 kB / 401.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2168, allocations: 36.44 kB / 401.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.2169, allocations: 31.91 kB / 401.9 MB, free: 6.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2171, allocations: 259 kB / 402.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2171, allocations: 0 / 402.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003339/0.2204, allocations: 1.317 MB / 403.5 MB, free: 4.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00688/0.2273, allocations: 3.224 MB / 406.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2285, allocations: 0.774 MB / 407.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2285, allocations: 12.12 kB / 407.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.2289, allocations: 283.5 kB / 407.8 MB, free: 424 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.2298, allocations: 280.1 kB / 408.1 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.2367, allocations: 5.255 MB / 413.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.2368, allocations: 233.6 kB / 413.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.2372, allocations: 148.2 kB / 413.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.2374, allocations: 156.4 kB / 413.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2374, allocations: 0 / 413.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.3065, allocations: 53.92 MB / 467.8 MB, free: 4.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.257, allocations: 11.7 kB / 467.8 MB, free: 4.07 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 19.358601602725685]