Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001295/0.001295, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001356/0.001356, allocations: 219 kB / 21.46 MB, free: 1.586 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.399/1.399, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.94 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1003, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2332/0.3334, allocations: 50.87 MB / 477.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.3402, allocations: 5.219 MB / 483.1 MB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.3405, allocations: 8.062 kB / 483.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.3413, allocations: 256.5 kB / 483.4 MB, free: 4.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007018/0.342, allocations: 368.3 kB / 483.7 MB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01955/0.3615, allocations: 7.16 MB / 490.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.363, allocations: 1.092 MB / 492 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3632, allocations: 108.2 kB / 492.1 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/0.3697, allocations: 3.619 MB / 495.7 MB, free: 12.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.3704, allocations: 426.5 kB / 496.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3705, allocations: 60 kB / 496.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.3894, allocations: 10.12 MB / 0.4944 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004512/0.3898, allocations: 231.4 kB / 0.4947 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.3903, allocations: 306.9 kB / 0.495 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.4045, allocations: 5.53 MB / 0.5004 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4045, allocations: 0 / 0.5004 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4045, allocations: 0 / 0.5004 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.4045, allocations: 0 / 0.5004 GB, free: 11.49 MB / 414.1 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.003738/0.4083, allocations: 1.402 MB / 0.5017 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4083, allocations: 12.03 kB / 0.5017 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.184e-05/0.4084, allocations: 9 kB / 0.5017 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.4085, allocations: 86.52 kB / 0.5018 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.4088, allocations: 63.67 kB / 0.5019 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.4094, allocations: 370.2 kB / 0.5022 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4094, allocations: 35.19 kB / 0.5023 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.4095, allocations: 42.53 kB / 0.5023 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.4108, allocations: 0.5843 MB / 0.5029 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.4109, allocations: 3.984 kB / 0.5029 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.4109, allocations: 16 kB / 0.5029 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4109, allocations: 12 kB / 0.5029 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.4124, allocations: 0.7495 MB / 0.5036 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.4296, allocations: 11.95 MB / 0.5153 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.4309, allocations: 0.5088 MB / 0.5158 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.4313, allocations: 254 kB / 0.5161 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.4472, allocations: 11.88 MB / 0.5277 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.4472, allocations: 39 kB / 0.5277 GB, free: 10.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.4472, allocations: 0 / 0.5277 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005906/0.4531, allocations: 2.125 MB / 0.5298 GB, free: 8.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4532, allocations: 59.91 kB / 0.5298 GB, free: 8.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4535, allocations: 318.9 kB / 0.5301 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4536, allocations: 41.7 kB / 0.5302 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4538, allocations: 204.7 kB / 0.5304 GB, free: 8.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4539, allocations: 202.3 kB / 0.5306 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.4541, allocations: 118.2 kB / 0.5307 GB, free: 7.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4543, allocations: 346.8 kB / 0.531 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.4547, allocations: 237 kB / 0.5312 GB, free: 7.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.4554, allocations: 343.4 kB / 0.5316 GB, free: 6.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.4566, allocations: 0.5956 MB / 0.5321 GB, free: 6.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4566, allocations: 0 / 0.5321 GB, free: 6.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001879/0.4584, allocations: 0.752 MB / 0.5329 GB, free: 5.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4585, allocations: 11.94 kB / 0.5329 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4585, allocations: 0 / 0.5329 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.459, allocations: 106.7 kB / 0.533 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.4595, allocations: 127.8 kB / 0.5331 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.4623, allocations: 3.477 MB / 0.5365 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.4626, allocations: 12 kB / 0.5365 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.4627, allocations: 31.98 kB / 0.5366 GB, free: 1.395 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 (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.0003181/0.463, allocations: 197.8 kB / 0.5367 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.4634, allocations: 47.7 kB / 0.5368 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.465, allocations: 0.8121 MB / 0.5376 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.465, allocations: 8 kB / 0.5376 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.465, allocations: 0 / 0.5376 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/0.4662, allocations: 0.7596 MB / 0.5383 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.4684, allocations: 1.301 MB / 0.5396 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4684, allocations: 0 / 0.5396 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.4688, allocations: 103.9 kB / 0.5397 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009572/0.4698, allocations: 152.7 kB / 0.5398 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.4698, allocations: 19.98 kB / 0.5399 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004708/0.4703, allocations: 0.6484 MB / 0.5405 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4703, allocations: 3.938 kB / 0.5405 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.472, allocations: 0.9096 MB / 0.5414 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.4721, allocations: 116.9 kB / 0.5415 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.4722, allocations: 16 kB / 0.5415 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.4726, allocations: 15.98 kB / 0.5415 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.4727, allocations: 40.33 kB / 0.5416 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.4727, allocations: 31.97 kB / 0.5416 GB, free: 11.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000307/0.4731, allocations: 253.9 kB / 0.5418 GB, free: 11.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4731, allocations: 0 / 0.5418 GB, free: 11.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003953/0.477, allocations: 1.341 MB / 0.5431 GB, free: 10.38 MB / 462.1 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.008925/0.4859, allocations: 3.039 MB / 0.5461 GB, free: 7.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.4877, allocations: 0.7763 MB / 0.5469 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.4878, allocations: 4 kB / 0.5469 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4883, allocations: 283.1 kB / 0.5471 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4899, allocations: 277.8 kB / 0.5474 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/0.4996, allocations: 5.323 MB / 0.5526 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.5001, allocations: 0.8326 MB / 0.5534 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.5007, allocations: 140.2 kB / 0.5536 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.501, allocations: 155.4 kB / 0.5537 GB, free: 15.29 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.501, allocations: 4 kB / 0.5537 GB, free: 15.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09422/0.5952, allocations: 50.72 MB / 0.6032 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.59, allocations: 14.89 kB / 0.6033 GB, free: 12.73 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 39.81885323795723]