Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.001711/0.001711, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00212/0.00212, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 377.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006608/0.3049, allocations: 4.597 MB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3071, allocations: 1.825 MB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.3072, allocations: 3.938 kB / 437.5 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3074, allocations: 39.75 kB / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.3078, allocations: 123.2 kB / 437.7 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3086, allocations: 261.8 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.309, allocations: 298.7 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.739e-05/0.309, allocations: 9.266 kB / 438.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.3093, allocations: 135.6 kB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3095, allocations: 87.61 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3095, allocations: 8 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.3097, allocations: 111.9 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.3098, allocations: 35.89 kB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3099, allocations: 79.66 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3103, allocations: 225 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3103, allocations: 0 / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3103, allocations: 0 / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3103, allocations: 0 / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009505/0.3113, allocations: 425.8 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3113, allocations: 12.03 kB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.3114, allocations: 42.75 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.3115, allocations: 24.81 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3119, allocations: 154.4 kB / 439.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3119, allocations: 12.66 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.3119, allocations: 16.31 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.3123, allocations: 221.4 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3124, allocations: 0 / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.3124, allocations: 8 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3124, allocations: 0 / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.3128, allocations: 160.5 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.3141, allocations: 0.8986 MB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.3145, allocations: 138.8 kB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3146, allocations: 60.83 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.3151, allocations: 340.1 kB / 441.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3152, allocations: 30.56 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.3152, allocations: 3.938 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002557/0.3177, allocations: 0.6982 MB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3178, allocations: 55.34 kB / 442.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3179, allocations: 167.7 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.318, allocations: 25.7 kB / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3181, allocations: 140.1 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.3181, allocations: 87.3 kB / 442.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.3182, allocations: 57.69 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3184, allocations: 326.8 kB / 443 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.3186, allocations: 87.88 kB / 443.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.319, allocations: 194.7 kB / 443.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.3196, allocations: 295.5 kB / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3196, allocations: 0 / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007284/0.3203, allocations: 326.8 kB / 443.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3203, allocations: 10.34 kB / 443.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3203, allocations: 4 kB / 443.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3203, allocations: 4 kB / 443.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.3207, allocations: 83.89 kB / 444 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.3207, allocations: 7.938 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.321, allocations: 15.98 kB / 444 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.321, allocations: 16 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3211, allocations: 141.7 kB / 444.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.3212, allocations: 15.91 kB / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.3218, allocations: 234.6 kB / 444.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3219, allocations: 7.984 kB / 444.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3219, allocations: 4 kB / 444.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3219, allocations: 0 / 444.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3232, allocations: 0.5787 MB / 445 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3232, allocations: 4 kB / 445 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.3235, allocations: 47.95 kB / 445 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3235, allocations: 0 / 445 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3235, allocations: 8 kB / 445 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.3235, allocations: 7.938 kB / 445 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3235, allocations: 3.938 kB / 445 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.3244, allocations: 420.2 kB / 445.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.3245, allocations: 27.88 kB / 445.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.3245, allocations: 0 / 445.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3247, allocations: 19.92 kB / 445.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.3248, allocations: 15.92 kB / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3248, allocations: 11.98 kB / 445.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.106e-05/0.3249, allocations: 115.3 kB / 445.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3249, allocations: 0 / 445.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.3253, allocations: 63.94 kB / 445.7 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.3266, allocations: 0.9616 MB / 446.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.3272, allocations: 207.7 kB / 446.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.3272, allocations: 8.312 kB / 446.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.3274, allocations: 87.81 kB / 447 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3278, allocations: 39.83 kB / 447 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.3314, allocations: 2.379 MB / 449.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3317, allocations: 0.7128 MB / 450.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.332, allocations: 49.88 kB / 450.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3321, allocations: 51.41 kB / 450.2 MB, free: 3 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3321, allocations: 0 / 450.2 MB, free: 3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.3673, allocations: 4.856 MB / 455 MB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.07, allocations: 0 / 455 MB, free: 14.29 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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: 13.745624088998738]