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.001446/0.001446, allocations: 123.9 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001405/0.001405, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 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 1.379/1.379, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001548/0.001548, allocations: 47.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09428, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2576/0.3519, allocations: 65.86 MB / 483.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.3601, allocations: 5.473 MB / 489.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.3609, allocations: 14.25 kB / 489.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.3622, allocations: 364.8 kB / 489.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.3636, allocations: 0.5128 MB / 490 MB, free: 5.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01896/0.3826, allocations: 7.454 MB / 497.5 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.3847, allocations: 1.55 MB / 499 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.3851, allocations: 161.2 kB / 499.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3862, allocations: 0.6349 MB / 499.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/0.3871, allocations: 0.6053 MB / 0.4887 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3873, allocations: 83.16 kB / 0.4888 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.4047, allocations: 10.38 MB / 0.4989 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.4052, allocations: 327.1 kB / 0.4992 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.4059, allocations: 438.4 kB / 0.4996 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.419, allocations: 5.955 MB / 0.5054 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.419, allocations: 0 / 0.5054 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.419, allocations: 0 / 0.5054 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.419, allocations: 4 kB / 0.5054 GB, free: 1.652 MB / 398.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.004052/0.4231, allocations: 1.609 MB / 0.507 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4231, allocations: 8.031 kB / 0.507 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.4233, allocations: 106.5 kB / 0.5071 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.4237, allocations: 87.56 kB / 0.5072 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.4245, allocations: 453 kB / 0.5076 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.4245, allocations: 45.31 kB / 0.5077 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4246, allocations: 60 kB / 0.5077 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.4264, allocations: 0.8146 MB / 0.5085 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.4264, allocations: 0 / 0.5085 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.4265, allocations: 28 kB / 0.5086 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4265, allocations: 16.66 kB / 0.5086 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.4285, allocations: 1.028 MB / 0.5096 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.4469, allocations: 12.78 MB / 0.5221 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.4487, allocations: 0.7153 MB / 0.5228 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.4493, allocations: 383.9 kB / 0.5231 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/0.4648, allocations: 12.25 MB / 0.5351 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.4649, allocations: 43.22 kB / 0.5351 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.4649, allocations: 0 / 0.5351 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009645/0.4745, allocations: 3.393 MB / 0.5384 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4746, allocations: 60.41 kB / 0.5385 GB, free: 11.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.475, allocations: 360.4 kB / 0.5388 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.4751, allocations: 49.7 kB / 0.5389 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4753, allocations: 241.2 kB / 0.5391 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.4756, allocations: 325.2 kB / 0.5394 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.4758, allocations: 158.6 kB / 0.5396 GB, free: 9.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.476, allocations: 362.8 kB / 0.5399 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.4766, allocations: 369.8 kB / 0.5403 GB, free: 9.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.4775, allocations: 0.4884 MB / 0.5408 GB, free: 8.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.4793, allocations: 0.8982 MB / 0.5416 GB, free: 7.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4793, allocations: 0 / 0.5416 GB, free: 7.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002668/0.482, allocations: 1.125 MB / 0.5427 GB, free: 6.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.482, allocations: 4 kB / 0.5427 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.482, allocations: 4 kB / 0.5427 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/0.4828, allocations: 171.4 kB / 0.5429 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.4836, allocations: 187.8 kB / 0.5431 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.4868, allocations: 4.124 MB / 0.5471 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.4873, allocations: 19.94 kB / 0.5471 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.4874, allocations: 48.23 kB / 0.5472 GB, free: 1.723 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.0003641/0.4877, allocations: 222.3 kB / 0.5474 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.4881, allocations: 63.67 kB / 0.5475 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.4906, allocations: 1.269 MB / 0.5487 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4906, allocations: 8 kB / 0.5487 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4906, allocations: 11.94 kB / 0.5487 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001952/0.4926, allocations: 1.32 MB / 0.55 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.496, allocations: 1.964 MB / 0.5519 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.496, allocations: 64 / 0.5519 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.4967, allocations: 163.8 kB / 0.5521 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.4985, allocations: 301.2 kB / 0.5524 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.4986, allocations: 27.98 kB / 0.5524 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008934/0.4995, allocations: 1.289 MB / 0.5536 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4995, allocations: 7.922 kB / 0.5537 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.5022, allocations: 1.414 MB / 0.555 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.5024, allocations: 136.7 kB / 0.5552 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5025, allocations: 23.98 kB / 0.5552 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.503, allocations: 23.98 kB / 0.5552 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.5031, allocations: 56.86 kB / 0.5553 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.751e-05/0.5032, allocations: 43.97 kB / 0.5553 GB, free: 9.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.5035, allocations: 283 kB / 0.5556 GB, free: 8.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5035, allocations: 0 / 0.5556 GB, free: 8.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003695/0.5072, allocations: 1.423 MB / 0.557 GB, free: 7.352 MB / 462.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.008886/0.5161, allocations: 3.603 MB / 0.5605 GB, free: 3.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.5185, allocations: 1.105 MB / 0.5616 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.5185, allocations: 4.062 kB / 0.5616 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.5195, allocations: 475.2 kB / 0.562 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.5213, allocations: 385.1 kB / 0.5624 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.534, allocations: 7.094 MB / 0.5693 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.5345, allocations: 0.9128 MB / 0.5702 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007727/0.5353, allocations: 205.2 kB / 0.5704 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.5357, allocations: 223.4 kB / 0.5706 GB, free: 9.094 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5357, allocations: 0 / 0.5706 GB, free: 9.094 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.6439, allocations: 56.98 MB / 0.6263 GB, free: 284 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.52, allocations: 0 / 0.6263 GB, free: 284 kB / 0.5137 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 41.63807469420135]