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.001338/0.001338, allocations: 107.6 kB / 21.18 MB, free: 452 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.001421/0.001421, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.479/1.479, 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.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.001913/0.001913, allocations: 57.8 kB / 347.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2164/0.518, allocations: 161.7 MB / 0.545 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006297/0.5243, allocations: 4.351 MB / 0.5493 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.5245, allocations: 7.938 kB / 0.5493 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008286/0.5253, allocations: 230.7 kB / 0.5495 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.526, allocations: 385.8 kB / 0.5499 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008031/0.534, allocations: 2.913 MB / 0.5527 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.5356, allocations: 1.173 MB / 0.5539 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.5359, allocations: 109.7 kB / 0.554 GB, free: 7.645 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.5393, allocations: 1.475 MB / 0.5554 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.54, allocations: 434.5 kB / 0.5558 GB, free: 5.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.5401, allocations: 64 kB / 0.5559 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006862/0.5469, allocations: 3.476 MB / 0.5593 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.5473, allocations: 239.4 kB / 0.5595 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.5477, allocations: 283.1 kB / 0.5598 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2698/0.8175, allocations: 2.788 MB / 0.5625 GB, free: 7.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.8175, allocations: 0.5 kB / 0.5625 GB, free: 7.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.8175, allocations: 1 kB / 0.5625 GB, free: 7.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.8176, allocations: 0 / 0.5625 GB, free: 7.434 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.002855/0.8204, allocations: 1.095 MB / 0.5636 GB, free: 6.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.8205, allocations: 14.3 kB / 0.5636 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.8206, allocations: 82.77 kB / 0.5637 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.8209, allocations: 63.67 kB / 0.5637 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.8216, allocations: 303.2 kB / 0.564 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.8216, allocations: 33.94 kB / 0.564 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.8217, allocations: 42.25 kB / 0.5641 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.8228, allocations: 0.8087 MB / 0.5649 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8228, allocations: 1.75 kB / 0.5649 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.8229, allocations: 20.66 kB / 0.5649 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.8229, allocations: 13.69 kB / 0.5649 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.8241, allocations: 0.5919 MB / 0.5655 GB, free: 6.156 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.8275, allocations: 1.322 MB / 0.5668 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.8287, allocations: 0.524 MB / 0.5673 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.8292, allocations: 249.2 kB / 0.5675 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.8295, allocations: 96.39 kB / 0.5676 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.8295, allocations: 43.16 kB / 0.5677 GB, free: 5.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/0.8295, allocations: 0 / 0.5677 GB, free: 5.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01446/0.844, allocations: 3.411 MB / 0.571 GB, free: 5.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.844, allocations: 61.92 kB / 0.5711 GB, free: 5.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.8444, allocations: 296.5 kB / 0.5713 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.8445, allocations: 40.8 kB / 0.5714 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.8446, allocations: 198.6 kB / 0.5716 GB, free: 5.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.8448, allocations: 237.8 kB / 0.5718 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.845, allocations: 112.9 kB / 0.5719 GB, free: 4.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002965/0.8453, allocations: 352.1 kB / 0.5722 GB, free: 20.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/0.846, allocations: 312.1 kB / 0.5725 GB, free: 20.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.8468, allocations: 389.6 kB / 0.5729 GB, free: 20.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.8484, allocations: 0.7089 MB / 0.5736 GB, free: 20.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8484, allocations: 0.75 kB / 0.5736 GB, free: 20.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002233/0.8506, allocations: 0.9629 MB / 0.5745 GB, free: 20.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8506, allocations: 4.906 kB / 0.5745 GB, free: 20.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8506, allocations: 1.531 kB / 0.5745 GB, free: 20.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.8522, allocations: 340.6 kB / 0.5749 GB, free: 20.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.8527, allocations: 119.2 kB / 0.575 GB, free: 20.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.857, allocations: 3.499 MB / 0.5784 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/0.8577, allocations: 34.84 kB / 0.5784 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.8578, allocations: 29.45 kB / 0.5785 GB, free: 17.46 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.0004036/0.8582, allocations: 196 kB / 0.5786 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.8583, allocations: 47.56 kB / 0.5787 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.8606, allocations: 1.016 MB / 0.5797 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.8606, allocations: 11.34 kB / 0.5797 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8606, allocations: 3.938 kB / 0.5797 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001857/0.8625, allocations: 1.07 MB / 0.5807 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.8654, allocations: 1.551 MB / 0.5823 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8654, allocations: 7.391 kB / 0.5823 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.8659, allocations: 108.2 kB / 0.5824 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.8675, allocations: 377.4 kB / 0.5827 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.8675, allocations: 32.7 kB / 0.5828 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.8689, allocations: 0.8684 MB / 0.5836 GB, free: 16.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8689, allocations: 1.312 kB / 0.5836 GB, free: 16.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.8714, allocations: 1.34 MB / 0.5849 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.8716, allocations: 42.56 kB / 0.585 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.8717, allocations: 21.89 kB / 0.585 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.8723, allocations: 46.81 kB / 0.585 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.8724, allocations: 40.2 kB / 0.5851 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/0.8725, allocations: 36.92 kB / 0.5851 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.8728, allocations: 223.6 kB / 0.5853 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8728, allocations: 0.8125 kB / 0.5853 GB, free: 15.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001932/0.8747, allocations: 462 kB / 0.5857 GB, free: 15.63 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.005408/0.8801, allocations: 2.355 MB / 0.588 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.8823, allocations: 0.9633 MB / 0.589 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8823, allocations: 1.062 kB / 0.589 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.8831, allocations: 416 kB / 0.5894 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8848, allocations: 305.5 kB / 0.5897 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8959, allocations: 5.721 MB / 0.5953 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.8961, allocations: 246.1 kB / 0.5955 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006866/0.8968, allocations: 139.9 kB / 0.5956 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.8971, allocations: 163.1 kB / 0.5958 GB, free: 12.67 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.8971, allocations: 0 / 0.5958 GB, free: 12.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09227/0.9894, allocations: 28.11 MB / 0.6232 GB, free: 4.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.94, allocations: 0 / 0.6232 GB, free: 4.344 MB / 494.1 MB " [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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_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_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.csv","/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.77864503208548]