Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001263/0.001263, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005753/0.005753, allocations: 162.5 kB / 24.69 MB, free: 8.887 MB / 18.57 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 0.9108/0.9108, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.421e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1889/0.189, allocations: 58.84 MB / 357.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.1938, allocations: 4.963 MB / 362.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.1942, allocations: 15.94 kB / 362.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1953, allocations: 325.9 kB / 362.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009031/0.1962, allocations: 0.5355 MB / 363.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.2128, allocations: 7.22 MB / 370.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.2146, allocations: 1.558 MB / 371.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.2149, allocations: 146.8 kB / 372.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.2162, allocations: 0.8494 MB / 372.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.2169, allocations: 0.5298 MB / 373.4 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.217, allocations: 84 kB / 373.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/0.2314, allocations: 9.445 MB / 383 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.2319, allocations: 347.1 kB / 383.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006278/0.2325, allocations: 331.4 kB / 383.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02015/0.2527, allocations: 7.105 MB / 390.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.2527, allocations: 0 / 390.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2527, allocations: 0 / 390.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.2527, allocations: 3.938 kB / 390.7 MB, free: 2.363 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003921/0.2566, allocations: 1.514 MB / 392.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.2567, allocations: 11.98 kB / 392.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.2568, allocations: 110.5 kB / 392.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.2571, allocations: 93.47 kB / 392.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.2576, allocations: 375.8 kB / 392.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2576, allocations: 45.31 kB / 392.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.2577, allocations: 75.89 kB / 392.9 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2589, allocations: 1.208 MB / 394.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.259, allocations: 8 kB / 394.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.259, allocations: 24 kB / 394.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.259, allocations: 16 kB / 394.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2602, allocations: 1.02 MB / 395.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.2673, allocations: 4.167 MB / 399.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2683, allocations: 0.7033 MB / 400.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.2687, allocations: 391 kB / 400.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004825/0.2735, allocations: 2.616 MB / 403.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2736, allocations: 47.22 kB / 403.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.315e-06/0.2736, allocations: 0 / 403.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.005146/0.2787, allocations: 3.155 MB / 406.3 MB, free: 2.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2787, allocations: 60.41 kB / 406.4 MB, free: 2.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.279, allocations: 360.4 kB / 406.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.2791, allocations: 49.64 kB / 406.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2792, allocations: 245.1 kB / 407 MB, free: 1.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2794, allocations: 317.2 kB / 407.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2795, allocations: 158.6 kB / 407.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2796, allocations: 362.8 kB / 407.8 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.2801, allocations: 373.8 kB / 408.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.2806, allocations: 496.2 kB / 408.7 MB, free: 80 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2818, allocations: 0.8943 MB / 409.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2818, allocations: 0 / 409.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001539/0.2833, allocations: 1.121 MB / 410.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2833, allocations: 4 kB / 410.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2833, allocations: 7.938 kB / 410.7 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.2838, allocations: 171.5 kB / 410.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.2842, allocations: 191.7 kB / 411 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.2859, allocations: 3.906 MB / 414.9 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2861, allocations: 16 kB / 415 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.2862, allocations: 43.98 kB / 415 MB, free: 9.395 MB / 378.7 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0002123/0.2864, allocations: 233.6 kB / 415.2 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.2866, allocations: 63.67 kB / 415.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.2881, allocations: 1.277 MB / 416.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2881, allocations: 11.94 kB / 416.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.2881, allocations: 0 / 416.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.2893, allocations: 1.32 MB / 417.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.2913, allocations: 1.803 MB / 419.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2913, allocations: 0 / 419.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.2916, allocations: 163.8 kB / 419.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008572/0.2925, allocations: 301.3 kB / 420.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.2925, allocations: 31.97 kB / 420.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005041/0.293, allocations: 1.289 MB / 421.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.293, allocations: 0 / 421.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.2947, allocations: 1.414 MB / 422.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.2947, allocations: 55.72 kB / 422.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.2948, allocations: 23.92 kB / 423 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.295, allocations: 32.17 kB / 423 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.2951, allocations: 56.89 kB / 423.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.2951, allocations: 43.97 kB / 423.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.2953, allocations: 279 kB / 423.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2953, allocations: 0 / 423.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003467/0.2988, allocations: 1.407 MB / 424.8 MB, free: 15.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006187/0.305, allocations: 3.797 MB / 428.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3063, allocations: 1.105 MB / 429.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3063, allocations: 0 / 429.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.3068, allocations: 475.9 kB / 430.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/0.3078, allocations: 393 kB / 430.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.3152, allocations: 6.969 MB / 437.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.3154, allocations: 314 kB / 437.8 MB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004537/0.3159, allocations: 201.2 kB / 438 MB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.3161, allocations: 232.4 kB / 438.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3161, allocations: 0 / 438.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.21/0.5261, allocations: 60.78 MB / 499 MB, free: 118.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.22/9.746, allocations: 3.938 kB / 499 MB, free: 118.3 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_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_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.910719564184546]