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.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.001423/0.001423, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002204/0.002204, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.442/1.442, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.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.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.001752/0.001752, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.271, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05574/0.3267, allocations: 45.56 MB / 441.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.3332, allocations: 4.689 MB / 446.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.3335, allocations: 11.94 kB / 446.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.3343, allocations: 238.6 kB / 446.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.335, allocations: 369.9 kB / 447.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0186/0.3536, allocations: 6.787 MB / 454 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.3551, allocations: 1.107 MB / 455.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.3554, allocations: 101.8 kB / 455.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/0.3621, allocations: 3.603 MB / 458.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.3628, allocations: 406.5 kB / 459.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3629, allocations: 56 kB / 459.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.3815, allocations: 9.178 MB / 468.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.3819, allocations: 231.4 kB / 468.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004464/0.3824, allocations: 263.1 kB / 468.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.3946, allocations: 5.409 MB / 474.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3946, allocations: 0 / 474.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3946, allocations: 0 / 474.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3947, allocations: 4 kB / 474.3 MB, free: 4.973 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.003205/0.3979, allocations: 1.312 MB / 475.6 MB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3979, allocations: 15.92 kB / 475.7 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.398, allocations: 86.52 kB / 475.7 MB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.3983, allocations: 59.7 kB / 475.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.3989, allocations: 316.1 kB / 476.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.399, allocations: 29 kB / 476.1 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.399, allocations: 47.95 kB / 476.2 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4006, allocations: 0.8894 MB / 477.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.4006, allocations: 4 kB / 477.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.4006, allocations: 16 kB / 477.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4006, allocations: 8 kB / 477.1 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.4021, allocations: 0.7495 MB / 477.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.4148, allocations: 3.666 MB / 481.5 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.416, allocations: 0.5044 MB / 482 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.4164, allocations: 246 kB / 482.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.4265, allocations: 2.569 MB / 484.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.4266, allocations: 39 kB / 484.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.414e-06/0.4266, allocations: 0 / 484.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005614/0.4322, allocations: 1.901 MB / 486.8 MB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4323, allocations: 55.91 kB / 486.8 MB, free: 8.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.4327, allocations: 324.1 kB / 487.1 MB, free: 7.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.4327, allocations: 37.7 kB / 487.2 MB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4329, allocations: 208.7 kB / 487.4 MB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.433, allocations: 202.2 kB / 487.6 MB, free: 7.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4332, allocations: 114.3 kB / 487.7 MB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4334, allocations: 350.8 kB / 488 MB, free: 6.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.4338, allocations: 237.2 kB / 488.3 MB, free: 6.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.4345, allocations: 344.3 kB / 488.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.4357, allocations: 0.5956 MB / 489.2 MB, free: 5.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4357, allocations: 4 kB / 489.2 MB, free: 5.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001859/0.4376, allocations: 0.748 MB / 490 MB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4376, allocations: 8.219 kB / 490 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4376, allocations: 8 kB / 490 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.4381, allocations: 110.5 kB / 490.1 MB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.4386, allocations: 119.9 kB / 490.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.4414, allocations: 3.261 MB / 493.5 MB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.4417, allocations: 16 kB / 493.5 MB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.4418, allocations: 31.98 kB / 493.5 MB, free: 1.145 MB / 398.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.0003031/0.4421, allocations: 189.6 kB / 493.7 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.4424, allocations: 52 kB / 493.7 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.4441, allocations: 0.8151 MB / 494.6 MB, free: 52 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4441, allocations: 4 kB / 494.6 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4441, allocations: 3.938 kB / 494.6 MB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/0.4454, allocations: 0.7635 MB / 495.3 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4476, allocations: 1.195 MB / 496.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4476, allocations: 4 kB / 496.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.448, allocations: 99.88 kB / 496.6 MB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009097/0.4489, allocations: 152.7 kB / 496.8 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.449, allocations: 16 kB / 496.8 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/0.4494, allocations: 0.6523 MB / 497.4 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4495, allocations: 0 / 497.4 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.4512, allocations: 0.9093 MB / 498.3 MB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4513, allocations: 35.77 kB / 498.4 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.4514, allocations: 16.03 kB / 498.4 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.4518, allocations: 19.98 kB / 498.4 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.4519, allocations: 36.38 kB / 498.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.452, allocations: 27.97 kB / 498.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.4523, allocations: 259 kB / 498.7 MB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 498.7 MB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003551/0.4558, allocations: 1.325 MB / 0.4883 GB, free: 10.36 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.008227/0.4641, allocations: 3.074 MB / 0.4913 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.4658, allocations: 0.7801 MB / 0.4921 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4658, allocations: 0 / 0.4921 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.4665, allocations: 283.1 kB / 0.4924 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.468, allocations: 277.7 kB / 0.4926 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.4784, allocations: 5.3 MB / 0.4978 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4787, allocations: 229.6 kB / 0.498 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005975/0.4793, allocations: 144.4 kB / 0.4982 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.4796, allocations: 155.5 kB / 0.4983 GB, free: 15.85 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4796, allocations: 0 / 0.4983 GB, free: 15.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.5871, allocations: 53.59 MB / 0.5507 GB, free: 10.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.46, allocations: 4 kB / 0.5507 GB, free: 10.11 MB / 478.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 24.77871566498652]