Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001706/0.001706, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00213/0.00213, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 51.92 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2624, allocations: 53.35 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08224/0.3447, allocations: 66.39 MB / 497.5 MB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.3528, allocations: 5.507 MB / 0.4913 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005624/0.3533, allocations: 11.88 kB / 0.4913 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.3546, allocations: 358 kB / 0.4916 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.3558, allocations: 0.5166 MB / 0.4921 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01934/0.3752, allocations: 7.542 MB / 0.4995 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.3773, allocations: 1.567 MB / 0.501 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.3777, allocations: 149.4 kB / 0.5011 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.3788, allocations: 0.6347 MB / 0.5018 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.3799, allocations: 0.6073 MB / 0.5024 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.3801, allocations: 88 kB / 0.5024 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0208/0.4009, allocations: 10.48 MB / 0.5127 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006209/0.4015, allocations: 331.2 kB / 0.513 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008913/0.4024, allocations: 438.3 kB / 0.5134 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4168, allocations: 5.974 MB / 0.5192 GB, free: 1.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4168, allocations: 0 / 0.5192 GB, free: 1.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4168, allocations: 0 / 0.5192 GB, free: 1.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.4169, allocations: 0 / 0.5192 GB, free: 1.984 MB / 430.1 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.005128/0.422, allocations: 1.537 MB / 0.5207 GB, free: 420 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.422, allocations: 12.03 kB / 0.5208 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.4222, allocations: 110.4 kB / 0.5209 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005414/0.4228, allocations: 91.5 kB / 0.5209 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.4236, allocations: 391.4 kB / 0.5213 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.4236, allocations: 45.31 kB / 0.5214 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4237, allocations: 67.95 kB / 0.5214 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.4257, allocations: 0.8107 MB / 0.5222 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.4257, allocations: 7.984 kB / 0.5222 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.4258, allocations: 27.98 kB / 0.5223 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.4258, allocations: 16 kB / 0.5223 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4278, allocations: 1.043 MB / 0.5233 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.4478, allocations: 4.965 MB / 0.5281 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.451, allocations: 0.7069 MB / 0.5288 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.4521, allocations: 395.3 kB / 0.5292 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/0.4715, allocations: 2.6 MB / 0.5317 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.948e-05/0.4716, allocations: 47.22 kB / 0.5318 GB, free: 4.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 5.039e-06/0.4716, allocations: 0 / 0.5318 GB, free: 4.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01747/0.4891, allocations: 3.154 MB / 0.5349 GB, free: 1.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.4891, allocations: 68.34 kB / 0.5349 GB, free: 1.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.4899, allocations: 352.5 kB / 0.5353 GB, free: 1.207 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.49, allocations: 41.7 kB / 0.5353 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4903, allocations: 249.2 kB / 0.5355 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/0.4908, allocations: 325.2 kB / 0.5359 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.4912, allocations: 158.6 kB / 0.536 GB, free: 444 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.4915, allocations: 362.8 kB / 0.5364 GB, free: 72 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2197/0.7112, allocations: 369.4 kB / 0.5367 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.7124, allocations: 491.9 kB / 0.5372 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7141, allocations: 0.9012 MB / 0.5381 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7141, allocations: 4.641 kB / 0.5381 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002488/0.7166, allocations: 1.119 MB / 0.5392 GB, free: 105.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7167, allocations: 5.656 kB / 0.5392 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7167, allocations: 4 kB / 0.5392 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.7175, allocations: 171.1 kB / 0.5393 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.7182, allocations: 185.3 kB / 0.5395 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.7201, allocations: 3.913 MB / 0.5433 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.7205, allocations: 20.53 kB / 0.5433 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.7206, allocations: 45.53 kB / 0.5434 GB, free: 101.7 MB / 446.1 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.0003175/0.7209, allocations: 231.1 kB / 0.5436 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.7212, allocations: 66.23 kB / 0.5437 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.7234, allocations: 1.278 MB / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.7234, allocations: 9.875 kB / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7234, allocations: 0 / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/0.7249, allocations: 1.317 MB / 0.5462 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.7276, allocations: 1.94 MB / 0.5481 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7276, allocations: 0 / 0.5481 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.7283, allocations: 166.7 kB / 0.5483 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.7299, allocations: 302 kB / 0.5486 GB, free: 98.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.7299, allocations: 27.44 kB / 0.5486 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004667/0.7304, allocations: 1.289 MB / 0.5498 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7304, allocations: 0 / 0.5498 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.7324, allocations: 1.409 MB / 0.5512 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.7326, allocations: 54.69 kB / 0.5513 GB, free: 97.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7327, allocations: 28.62 kB / 0.5513 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.7332, allocations: 35.56 kB / 0.5513 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.7332, allocations: 58.41 kB / 0.5514 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.7333, allocations: 48.2 kB / 0.5514 GB, free: 97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.7335, allocations: 280.2 kB / 0.5517 GB, free: 96.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7335, allocations: 0 / 0.5517 GB, free: 96.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00307/0.7366, allocations: 1.423 MB / 0.5531 GB, free: 96.77 MB / 446.1 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.007075/0.7437, allocations: 3.594 MB / 0.5566 GB, free: 95.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.7455, allocations: 1.111 MB / 0.5577 GB, free: 94.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7455, allocations: 0 / 0.5577 GB, free: 94.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.7462, allocations: 476.5 kB / 0.5581 GB, free: 93.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.748, allocations: 399.1 kB / 0.5585 GB, free: 93.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/0.7575, allocations: 7.077 MB / 0.5654 GB, free: 86.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.7578, allocations: 0.9128 MB / 0.5663 GB, free: 85.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006237/0.7584, allocations: 205.2 kB / 0.5665 GB, free: 84.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.7587, allocations: 227.4 kB / 0.5667 GB, free: 84.76 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7587, allocations: 0 / 0.5667 GB, free: 84.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0878/0.8465, allocations: 57.82 MB / 0.6232 GB, free: 27.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.35, allocations: 3.562 kB / 0.6232 GB, free: 27.16 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 43.32610147004016]