Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008895/0.0008895, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009166/0.0009166, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8701/0.8701, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 318.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.235e-05, allocations: 2.281 kB / 318.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04275/0.04277, allocations: 58.68 MB / 377.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.04736, allocations: 4.966 MB / 382.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.0477, allocations: 11.94 kB / 382.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.0485, allocations: 345.8 kB / 382.4 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.04923, allocations: 0.5393 MB / 383 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.06233, allocations: 7.518 MB / 390.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.06411, allocations: 1.566 MB / 392.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.0644, allocations: 153.3 kB / 392.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.06556, allocations: 0.8417 MB / 393.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.06625, allocations: 0.5259 MB / 393.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.06637, allocations: 87.94 kB / 393.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.07895, allocations: 9.551 MB / 403.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.07934, allocations: 343.1 kB / 403.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.07982, allocations: 339.4 kB / 403.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.09119, allocations: 7.14 MB / 411 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.09119, allocations: 0 / 411 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0912, allocations: 0 / 411 MB, free: 9.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.09122, allocations: 0 / 411 MB, free: 9.469 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003222/0.09444, allocations: 1.518 MB / 412.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.09449, allocations: 16.91 kB / 412.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.0946, allocations: 102.5 kB / 412.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.09491, allocations: 87.55 kB / 412.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.09567, allocations: 383.6 kB / 413.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.0957, allocations: 57.3 kB / 413.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.09577, allocations: 60 kB / 413.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.09738, allocations: 1.22 MB / 414.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.0974, allocations: 7.953 kB / 414.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.09745, allocations: 28 kB / 414.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.09746, allocations: 12 kB / 414.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.0987, allocations: 1.024 MB / 415.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007549/0.1063, allocations: 4.144 MB / 419.7 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1074, allocations: 0.7093 MB / 420.4 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.1081, allocations: 391.3 kB / 420.8 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005182/0.1133, allocations: 2.616 MB / 423.4 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.1133, allocations: 47.22 kB / 423.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.1133, allocations: 0 / 423.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005976/0.1193, allocations: 3.16 MB / 426.6 MB, free: 9.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1193, allocations: 60.41 kB / 426.6 MB, free: 9.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1196, allocations: 364.4 kB / 427 MB, free: 9.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.1197, allocations: 45.64 kB / 427 MB, free: 9.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1198, allocations: 241.2 kB / 427.3 MB, free: 8.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.12, allocations: 325.2 kB / 427.6 MB, free: 8.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.1204, allocations: 158.6 kB / 427.7 MB, free: 8.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1205, allocations: 362.8 kB / 428.1 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1209, allocations: 365.8 kB / 428.5 MB, free: 7.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.1216, allocations: 0.4884 MB / 428.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1227, allocations: 0.9021 MB / 429.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1227, allocations: 0 / 429.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001658/0.1243, allocations: 1.118 MB / 431 MB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1244, allocations: 4 kB / 431 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1244, allocations: 7.938 kB / 431 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.1249, allocations: 167.3 kB / 431.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.1253, allocations: 191.7 kB / 431.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.1276, allocations: 3.902 MB / 435.2 MB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.1279, allocations: 16.5 kB / 435.2 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.128, allocations: 47.98 kB / 435.3 MB, free: 492 kB / 394.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003026/0.1283, allocations: 221.7 kB / 435.5 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.1286, allocations: 67.66 kB / 435.6 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.1301, allocations: 1.277 MB / 436.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1301, allocations: 11.94 kB / 436.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1302, allocations: 0 / 436.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.1314, allocations: 1.324 MB / 438.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.1336, allocations: 1.807 MB / 440 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1336, allocations: 0 / 440 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.134, allocations: 155.8 kB / 440.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/0.1349, allocations: 305.3 kB / 440.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.135, allocations: 23.98 kB / 440.5 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005529/0.1356, allocations: 1.297 MB / 441.8 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1356, allocations: 4.031 kB / 441.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.1376, allocations: 1.414 MB / 443.2 MB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1377, allocations: 55.72 kB / 443.2 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.1378, allocations: 16 kB / 443.3 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1381, allocations: 31.97 kB / 443.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.1381, allocations: 60.89 kB / 443.3 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.1382, allocations: 44.16 kB / 443.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1384, allocations: 279 kB / 443.7 MB, free: 7.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1384, allocations: 0 / 443.7 MB, free: 7.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003119/0.1415, allocations: 1.415 MB / 445.1 MB, free: 6.383 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007016/0.1486, allocations: 3.775 MB / 448.8 MB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.1505, allocations: 1.109 MB / 450 MB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1505, allocations: 4 kB / 450 MB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.1511, allocations: 479.2 kB / 450.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.1523, allocations: 389 kB / 450.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.132/0.2842, allocations: 6.971 MB / 457.8 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2844, allocations: 311.4 kB / 458.1 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.285, allocations: 210.8 kB / 458.3 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.2852, allocations: 229.3 kB / 458.5 MB, free: 122 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2852, allocations: 0 / 458.5 MB, free: 122 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06524/0.3505, allocations: 59.31 MB / 0.5057 GB, free: 66.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/9.504, allocations: 11.94 kB / 0.5057 GB, free: 66.24 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 27.67744105309248]