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.00157/0.00157, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.00145/0.00145, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002251/0.002251, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2401, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005814/0.246, allocations: 4.275 MB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.248, allocations: 1.619 MB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.2481, allocations: 8 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2484, allocations: 39.69 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.2487, allocations: 123.2 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.2494, allocations: 258.9 kB / 437.4 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.2498, allocations: 294.9 kB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.2499, allocations: 5.734 kB / 437.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2501, allocations: 139.5 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2503, allocations: 83.67 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.2503, allocations: 8 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.2505, allocations: 95.94 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.2506, allocations: 43.83 kB / 438 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.2507, allocations: 67.72 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.251, allocations: 228.9 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2511, allocations: 0 / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2511, allocations: 0 / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2511, allocations: 0 / 438.3 MB, free: 15.34 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.0009381/0.252, allocations: 421.8 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.252, allocations: 8.031 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.2521, allocations: 50.73 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2523, allocations: 16.89 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.2526, allocations: 154.3 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2526, allocations: 8.656 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.2526, allocations: 20.38 kB / 439 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.2532, allocations: 379.6 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2532, allocations: 7.984 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2532, allocations: 8 kB / 439.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2532, allocations: 4 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.2536, allocations: 143.8 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2549, allocations: 0.879 MB / 440.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.2553, allocations: 146.7 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.2555, allocations: 52.83 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.256, allocations: 316.2 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.256, allocations: 34.56 kB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.256, allocations: 0 / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002528/0.2585, allocations: 0.7037 MB / 441.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2586, allocations: 55.41 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2587, allocations: 160 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.2588, allocations: 29.7 kB / 441.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2589, allocations: 152 kB / 442 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.259, allocations: 71.42 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2591, allocations: 61.64 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2592, allocations: 330.8 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.2595, allocations: 87.94 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.2599, allocations: 194.6 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.2605, allocations: 293.4 kB / 443 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2605, allocations: 0 / 443 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000753/0.2612, allocations: 328.1 kB / 443.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.2612, allocations: 8 kB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2613, allocations: 7.938 kB / 443.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2613, allocations: 4 kB / 443.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.2617, allocations: 79.89 kB / 443.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2617, allocations: 11.98 kB / 443.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2619, allocations: 20.2 kB / 443.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.2619, allocations: 20 kB / 443.5 MB, free: 9.75 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.0001387/0.2621, allocations: 145.5 kB / 443.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.2621, allocations: 15.91 kB / 443.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.2628, allocations: 234.6 kB / 443.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2628, allocations: 0 / 443.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2628, allocations: 4 kB / 443.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2628, allocations: 4 kB / 443.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.2642, allocations: 0.5537 MB / 444.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2642, allocations: 4.125 kB / 444.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.2644, allocations: 55.89 kB / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2645, allocations: 0 / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.2645, allocations: 8 kB / 444.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2645, allocations: 3.984 kB / 444.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2645, allocations: 7.938 kB / 444.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.2654, allocations: 405.9 kB / 444.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.2654, allocations: 35.84 kB / 445 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.2655, allocations: 4 kB / 445 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2657, allocations: 15.92 kB / 445 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2657, allocations: 15.97 kB / 445 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.2658, allocations: 12 kB / 445 MB, free: 8.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.2659, allocations: 115 kB / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2659, allocations: 0 / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.2663, allocations: 60 kB / 445.2 MB, free: 7.977 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.001256/0.2675, allocations: 0.9692 MB / 446.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.2681, allocations: 212.3 kB / 446.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2681, allocations: 0 / 446.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2684, allocations: 87.81 kB / 446.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2688, allocations: 40.45 kB / 446.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2725, allocations: 2.384 MB / 448.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2726, allocations: 107.2 kB / 449 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.2728, allocations: 53.86 kB / 449 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2729, allocations: 47.41 kB / 449.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2729, allocations: 0 / 449.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.3068, allocations: 5.285 MB / 454.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 6.906 kB / 454.4 MB, free: 14.71 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.781489954999415]