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.002077/0.002077, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001821/0.001821, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001491/0.001491, allocations: 47.91 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2256, allocations: 53.35 MB / 431.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05318/0.2788, allocations: 45.49 MB / 477.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.2846, allocations: 4.693 MB / 482 MB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2848, allocations: 7.938 kB / 482 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.2855, allocations: 246.6 kB / 482.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000625/0.2861, allocations: 370 kB / 482.6 MB, free: 3.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01621/0.3023, allocations: 7.115 MB / 489.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.3039, allocations: 1.111 MB / 490.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3041, allocations: 105.8 kB / 491 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.3109, allocations: 3.595 MB / 494.6 MB, free: 7.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.3116, allocations: 430.5 kB / 495 MB, free: 7.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3118, allocations: 60 kB / 495 MB, free: 7.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.3287, allocations: 9.635 MB / 0.4929 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.3291, allocations: 239.3 kB / 0.4931 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.3296, allocations: 275.1 kB / 0.4933 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.3411, allocations: 5.448 MB / 0.4987 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3411, allocations: 0 / 0.4987 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3411, allocations: 3.938 kB / 0.4987 GB, free: 7.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3411, allocations: 0 / 0.4987 GB, free: 7.684 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.003371/0.3445, allocations: 1.321 MB / 0.5 GB, free: 6.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3445, allocations: 15.97 kB / 0.5 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.315e-05/0.3446, allocations: 17 kB / 0.5 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.3447, allocations: 82.52 kB / 0.5001 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.345, allocations: 63.66 kB / 0.5001 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.3455, allocations: 304.4 kB / 0.5004 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.3456, allocations: 37 kB / 0.5005 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.3456, allocations: 40 kB / 0.5005 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.3472, allocations: 0.8933 MB / 0.5014 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3472, allocations: 0 / 0.5014 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.3473, allocations: 24 kB / 0.5014 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3473, allocations: 8 kB / 0.5014 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.3488, allocations: 0.7572 MB / 0.5021 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.3617, allocations: 3.658 MB / 0.5057 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3631, allocations: 0.5051 MB / 0.5062 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.3635, allocations: 242.1 kB / 0.5064 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.3743, allocations: 2.553 MB / 0.5089 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.3743, allocations: 39 kB / 0.509 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.103e-06/0.3743, allocations: 0 / 0.509 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005652/0.38, allocations: 1.893 MB / 0.5108 GB, free: 10.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.38, allocations: 59.91 kB / 0.5109 GB, free: 10.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.3804, allocations: 328.1 kB / 0.5112 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.3804, allocations: 37.7 kB / 0.5112 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3806, allocations: 204.7 kB / 0.5114 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.3807, allocations: 202.3 kB / 0.5116 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3809, allocations: 118.3 kB / 0.5117 GB, free: 10.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3811, allocations: 346.8 kB / 0.512 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.3815, allocations: 241.2 kB / 0.5123 GB, free: 9.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.3821, allocations: 340.2 kB / 0.5126 GB, free: 9.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3833, allocations: 0.6034 MB / 0.5132 GB, free: 8.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3833, allocations: 0 / 0.5132 GB, free: 8.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001798/0.3851, allocations: 0.748 MB / 0.5139 GB, free: 7.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3851, allocations: 4 kB / 0.5139 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3851, allocations: 8.359 kB / 0.5139 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.3856, allocations: 110.4 kB / 0.514 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.3861, allocations: 127.8 kB / 0.5142 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.3887, allocations: 3.269 MB / 0.5174 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.3889, allocations: 19.92 kB / 0.5174 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.389, allocations: 28 kB / 0.5174 GB, free: 3.859 MB / 430.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.0002687/0.3893, allocations: 203.1 kB / 0.5176 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.3896, allocations: 47.77 kB / 0.5176 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.3911, allocations: 0.8192 MB / 0.5184 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3912, allocations: 8 kB / 0.5184 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3912, allocations: 0 / 0.5184 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.3923, allocations: 0.7596 MB / 0.5192 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.3944, allocations: 1.183 MB / 0.5203 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3944, allocations: 0 / 0.5203 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.3948, allocations: 99.83 kB / 0.5204 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/0.3957, allocations: 152.7 kB / 0.5206 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.3958, allocations: 15.98 kB / 0.5206 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/0.3962, allocations: 0.6523 MB / 0.5212 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3962, allocations: 0 / 0.5212 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3979, allocations: 0.9092 MB / 0.5221 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.398, allocations: 35.8 kB / 0.5222 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3981, allocations: 16 kB / 0.5222 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.3985, allocations: 19.98 kB / 0.5222 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3985, allocations: 40.31 kB / 0.5222 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.3986, allocations: 27.97 kB / 0.5223 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.3989, allocations: 267 kB / 0.5225 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 0 / 0.5225 GB, free: 14.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003434/0.4023, allocations: 1.337 MB / 0.5238 GB, free: 13.06 MB / 446.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.007412/0.4097, allocations: 3.031 MB / 0.5268 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.4114, allocations: 0.7764 MB / 0.5275 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4114, allocations: 0 / 0.5275 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.4119, allocations: 291 kB / 0.5278 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4133, allocations: 285.3 kB / 0.5281 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/0.4228, allocations: 5.318 MB / 0.5333 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4231, allocations: 237.5 kB / 0.5335 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000553/0.4237, allocations: 136.2 kB / 0.5336 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.4239, allocations: 163.4 kB / 0.5338 GB, free: 2.566 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4239, allocations: 3.938 kB / 0.5338 GB, free: 2.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/0.6836, allocations: 52.09 MB / 0.5847 GB, free: 65.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.68, allocations: 8 kB / 0.5847 GB, free: 65.7 MB / 446.1 MB " [Timeout remaining time 644] (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: 31.52261148497928]