Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.00169/0.00169, allocations: 115.9 kB / 18.45 MB, free: 4.586 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.002025/0.002025, allocations: 190.9 kB / 21.39 MB, free: 1.652 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.444/1.444, allocations: 207.6 MB / 231.8 MB, free: 4.188 MB / 174.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.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 47.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09495, allocations: 49.13 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0595/0.1545, allocations: 50.92 MB / 442.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.1614, allocations: 5.215 MB / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.1616, allocations: 4 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.1624, allocations: 262.5 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.1632, allocations: 370 kB / 448.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01698/0.1802, allocations: 6.773 MB / 454.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1818, allocations: 1.095 MB / 456 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1821, allocations: 113.5 kB / 456.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006489/0.1886, allocations: 3.605 MB / 459.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.1892, allocations: 422.6 kB / 460.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1894, allocations: 60 kB / 460.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2098/0.3991, allocations: 9.968 MB / 470.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.3995, allocations: 229.1 kB / 470.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.3999, allocations: 310 kB / 470.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4139, allocations: 5.489 MB / 476.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4139, allocations: 2.094 kB / 476.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4139, allocations: 1.094 kB / 476.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.4139, allocations: 0.5312 kB / 476.2 MB, free: 12.11 MB / 382.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.00477/0.4187, allocations: 1.393 MB / 477.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4187, allocations: 11.14 kB / 477.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.055e-05/0.4188, allocations: 85.81 kB / 477.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.4192, allocations: 62.8 kB / 477.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.4197, allocations: 373.5 kB / 478.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4197, allocations: 36.67 kB / 478.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.4198, allocations: 44.06 kB / 478.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.4209, allocations: 0.5816 MB / 478.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4209, allocations: 3.125 kB / 478.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.421, allocations: 19.25 kB / 478.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.421, allocations: 13.83 kB / 478.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4222, allocations: 0.7476 MB / 479.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.4365, allocations: 11.97 MB / 491.5 MB, free: 16.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4376, allocations: 0.5042 MB / 492 MB, free: 16.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.4379, allocations: 244.9 kB / 492.3 MB, free: 16.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.4527, allocations: 11.89 MB / 0.4923 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.4527, allocations: 37.72 kB / 0.4924 GB, free: 4.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.4527, allocations: 0 / 0.4924 GB, free: 4.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005631/0.4584, allocations: 2.126 MB / 0.4944 GB, free: 3.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4584, allocations: 62.03 kB / 0.4945 GB, free: 3.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.4587, allocations: 318.4 kB / 0.4948 GB, free: 3.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.4588, allocations: 35.92 kB / 0.4948 GB, free: 3.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4589, allocations: 209.8 kB / 0.495 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.459, allocations: 199.4 kB / 0.4952 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.4592, allocations: 116 kB / 0.4953 GB, free: 3.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002938/0.4595, allocations: 348.2 kB / 0.4957 GB, free: 18.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.4598, allocations: 240.1 kB / 0.4959 GB, free: 18.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.4603, allocations: 341 kB / 0.4962 GB, free: 18.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.4613, allocations: 0.5986 MB / 0.4968 GB, free: 18.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4613, allocations: 1.562 kB / 0.4968 GB, free: 18.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001633/0.4629, allocations: 0.7555 MB / 0.4975 GB, free: 18.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.463, allocations: 6.438 kB / 0.4976 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.463, allocations: 5.5 kB / 0.4976 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.4635, allocations: 106.4 kB / 0.4977 GB, free: 18.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.4639, allocations: 123.9 kB / 0.4978 GB, free: 18.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.4665, allocations: 3.479 MB / 0.5012 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.4669, allocations: 17.95 kB / 0.5012 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.467, allocations: 31.05 kB / 0.5012 GB, free: 15.25 MB / 414.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.0003128/0.4673, allocations: 191.6 kB / 0.5014 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.4676, allocations: 50.55 kB / 0.5015 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.469, allocations: 0.8173 MB / 0.5023 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.469, allocations: 5.25 kB / 0.5023 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.469, allocations: 0 / 0.5023 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.47, allocations: 0.763 MB / 0.503 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.4719, allocations: 1.299 MB / 0.5043 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4719, allocations: 4.062 kB / 0.5043 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4723, allocations: 94.14 kB / 0.5044 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008385/0.4731, allocations: 156.2 kB / 0.5045 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.4732, allocations: 16.86 kB / 0.5045 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/0.4736, allocations: 0.6443 MB / 0.5052 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4736, allocations: 0 / 0.5052 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4751, allocations: 0.9094 MB / 0.506 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.4752, allocations: 122.5 kB / 0.5062 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.4753, allocations: 9.688 kB / 0.5062 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.4757, allocations: 18.7 kB / 0.5062 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.4757, allocations: 40.16 kB / 0.5062 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.4758, allocations: 31 kB / 0.5063 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.476, allocations: 260.4 kB / 0.5065 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.476, allocations: 0 / 0.5065 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004137/0.4802, allocations: 1.321 MB / 0.5078 GB, free: 12.46 MB / 414.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.008654/0.4888, allocations: 3.063 MB / 0.5108 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4905, allocations: 0.7807 MB / 0.5116 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4905, allocations: 0 / 0.5116 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.4911, allocations: 279.4 kB / 0.5118 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.4926, allocations: 278.8 kB / 0.5121 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.504, allocations: 5.319 MB / 0.5173 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.5045, allocations: 0.8297 MB / 0.5181 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005988/0.5051, allocations: 152.3 kB / 0.5182 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.5053, allocations: 155.4 kB / 0.5184 GB, free: 3.707 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5053, allocations: 0 / 0.5184 GB, free: 3.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.6096, allocations: 51.93 MB / 0.5691 GB, free: 15.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.41, allocations: 4 kB / 0.5691 GB, free: 15.73 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 28.99428621213883]