Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.001334/0.001334, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001523/0.001523, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 49.17 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4415/0.7021, allocations: 187.5 MB / 0.5702 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.7079, allocations: 4.846 MB / 0.5749 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.7082, allocations: 7.562 kB / 0.5749 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.709, allocations: 258.3 kB / 0.5752 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009474/0.7099, allocations: 377.9 kB / 0.5755 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008318/0.7183, allocations: 2.922 MB / 0.5784 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.7201, allocations: 1.182 MB / 0.5796 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.7204, allocations: 110.8 kB / 0.5797 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.7244, allocations: 1.486 MB / 0.5811 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009802/0.7254, allocations: 450.9 kB / 0.5815 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.7256, allocations: 62.59 kB / 0.5816 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007601/0.7332, allocations: 4.379 MB / 0.5859 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.7337, allocations: 239.2 kB / 0.5861 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.7343, allocations: 318.3 kB / 0.5864 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.7399, allocations: 2.921 MB / 0.5893 GB, free: 1.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.74, allocations: 1.094 kB / 0.5893 GB, free: 1.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.74, allocations: 0.9688 kB / 0.5893 GB, free: 1.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.74, allocations: 2.219 kB / 0.5893 GB, free: 1.406 MB / 478.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.002678/0.7427, allocations: 1.096 MB / 0.5903 GB, free: 16.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7427, allocations: 13.39 kB / 0.5903 GB, free: 16.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.7428, allocations: 86 kB / 0.5904 GB, free: 16.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.7432, allocations: 70.45 kB / 0.5905 GB, free: 16.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.7438, allocations: 311.5 kB / 0.5908 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.7438, allocations: 33.19 kB / 0.5908 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.7439, allocations: 40.56 kB / 0.5909 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.7447, allocations: 0.5026 MB / 0.5914 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.7447, allocations: 2.125 kB / 0.5914 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.7448, allocations: 19.97 kB / 0.5914 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.7448, allocations: 11.84 kB / 0.5914 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.7456, allocations: 0.607 MB / 0.592 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.7486, allocations: 1.839 MB / 0.5938 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.7497, allocations: 0.5269 MB / 0.5943 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.75, allocations: 243 kB / 0.5945 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.7503, allocations: 102.2 kB / 0.5946 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.7503, allocations: 47.84 kB / 0.5947 GB, free: 15.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.7503, allocations: 0 / 0.5947 GB, free: 15.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01324/0.7636, allocations: 3.412 MB / 0.598 GB, free: 15.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.7636, allocations: 58.69 kB / 0.5981 GB, free: 15.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.7639, allocations: 294.6 kB / 0.5983 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/0.764, allocations: 41.98 kB / 0.5984 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.7642, allocations: 192.9 kB / 0.5986 GB, free: 14.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7643, allocations: 237.3 kB / 0.5988 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.7645, allocations: 116.2 kB / 0.5989 GB, free: 14.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7646, allocations: 356.4 kB / 0.5992 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.7653, allocations: 309.9 kB / 0.5995 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.7659, allocations: 392.2 kB / 0.5999 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.7672, allocations: 0.709 MB / 0.6006 GB, free: 14.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7672, allocations: 2.047 kB / 0.6006 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002002/0.7692, allocations: 0.9559 MB / 0.6015 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7692, allocations: 6.094 kB / 0.6015 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7692, allocations: 4.25 kB / 0.6015 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7707, allocations: 342.5 kB / 0.6019 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.7713, allocations: 117.7 kB / 0.602 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.7751, allocations: 3.509 MB / 0.6054 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.7757, allocations: 31.38 kB / 0.6054 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.7757, allocations: 27.92 kB / 0.6055 GB, free: 11.26 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.776, allocations: 196.9 kB / 0.6057 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.7762, allocations: 49.88 kB / 0.6057 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.7785, allocations: 1.022 MB / 0.6067 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7785, allocations: 9.625 kB / 0.6067 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.7785, allocations: 0.875 kB / 0.6067 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001926/0.7804, allocations: 1.065 MB / 0.6077 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.7833, allocations: 1.667 MB / 0.6094 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7833, allocations: 0 / 0.6094 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.7838, allocations: 114.4 kB / 0.6095 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.7855, allocations: 371.7 kB / 0.6098 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.7855, allocations: 30.31 kB / 0.6099 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.7869, allocations: 0.8656 MB / 0.6107 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7869, allocations: 8.797 kB / 0.6107 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.7894, allocations: 1.347 MB / 0.612 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7895, allocations: 38.97 kB / 0.6121 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.7896, allocations: 19.11 kB / 0.6121 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.7902, allocations: 48 kB / 0.6121 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.7903, allocations: 40.53 kB / 0.6122 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.7904, allocations: 37 kB / 0.6122 GB, free: 9.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.7906, allocations: 229.8 kB / 0.6124 GB, free: 9.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7906, allocations: 0.5625 kB / 0.6124 GB, free: 9.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001227/0.7918, allocations: 460.6 kB / 0.6129 GB, free: 9.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004125/0.7959, allocations: 2.356 MB / 0.6152 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.7979, allocations: 0.9623 MB / 0.6161 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7979, allocations: 3.312 kB / 0.6161 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.7987, allocations: 402.1 kB / 0.6165 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.8001, allocations: 302.4 kB / 0.6168 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009966/0.8101, allocations: 5.735 MB / 0.6224 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.8106, allocations: 0.8529 MB / 0.6232 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.8112, allocations: 131 kB / 0.6233 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.8114, allocations: 163.3 kB / 0.6235 GB, free: 5.281 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8114, allocations: 4 kB / 0.6235 GB, free: 5.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07133/0.8827, allocations: 27.71 MB / 0.6506 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.55, allocations: 9.266 kB / 0.6506 GB, free: 10.48 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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: 17.217129973927513]