Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001328/0.001328, 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.001594/0.001594, allocations: 215 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.383/1.383, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.001878/0.001878, allocations: 47.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2541, allocations: 49.17 MB / 396.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00596/0.2601, allocations: 4.21 MB / 400.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2623, allocations: 1.623 MB / 402.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2625, allocations: 1.438 kB / 402.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.2628, allocations: 44.03 kB / 402.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.2633, allocations: 122.8 kB / 402.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.2641, allocations: 256.8 kB / 402.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.2646, allocations: 294.8 kB / 402.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.2646, allocations: 7.531 kB / 402.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.265, allocations: 138.8 kB / 403 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2652, allocations: 73.39 kB / 403.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.2652, allocations: 12.41 kB / 403.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.2655, allocations: 93.83 kB / 403.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.2656, allocations: 46.73 kB / 403.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2657, allocations: 63.02 kB / 403.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2661, allocations: 216.9 kB / 403.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2661, allocations: 0.9062 kB / 403.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2661, allocations: 0 / 403.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2661, allocations: 0 / 403.5 MB, free: 4.27 MB / 318.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.001022/0.2672, allocations: 416.9 kB / 403.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2672, allocations: 14.02 kB / 403.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.2673, allocations: 47.67 kB / 404 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2675, allocations: 23.92 kB / 404 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2678, allocations: 151.9 kB / 404.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2678, allocations: 10.38 kB / 404.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2678, allocations: 18.72 kB / 404.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.2683, allocations: 377.5 kB / 404.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2683, allocations: 1.344 kB / 404.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2684, allocations: 6.094 kB / 404.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2684, allocations: 4.344 kB / 404.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.2687, allocations: 161 kB / 404.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2701, allocations: 0.8606 MB / 405.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.2705, allocations: 141 kB / 405.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2707, allocations: 57.56 kB / 405.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.2712, allocations: 332.5 kB / 406.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2712, allocations: 36.67 kB / 406.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.2712, allocations: 0 / 406.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002627/0.2738, allocations: 0.6915 MB / 406.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2738, allocations: 53.84 kB / 406.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.274, allocations: 165.8 kB / 407 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.274, allocations: 26.92 kB / 407.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2741, allocations: 144.8 kB / 407.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/0.2741, allocations: 79.11 kB / 407.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2742, allocations: 63.7 kB / 407.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.2743, allocations: 321.9 kB / 407.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.2746, allocations: 85.41 kB / 407.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.2749, allocations: 196.9 kB / 407.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.2754, allocations: 291.2 kB / 408.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2754, allocations: 0 / 408.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007341/0.2761, allocations: 332.9 kB / 408.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2762, allocations: 5.656 kB / 408.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2762, allocations: 8.094 kB / 408.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2762, allocations: 5.438 kB / 408.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.2766, allocations: 82.78 kB / 408.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.2766, allocations: 6.641 kB / 408.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2769, allocations: 19.5 kB / 408.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.2769, allocations: 17.72 kB / 408.7 MB, free: 0.5 MB / 318.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.0001104/0.277, allocations: 135.6 kB / 408.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.2771, allocations: 18.94 kB / 408.8 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.2778, allocations: 242.3 kB / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2778, allocations: 1.859 kB / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2778, allocations: 1.625 kB / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2778, allocations: 0.75 kB / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2792, allocations: 0.5517 MB / 409.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2792, allocations: 2.078 kB / 409.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.2795, allocations: 52.17 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2795, allocations: 2.75 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.2795, allocations: 12.09 kB / 409.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2795, allocations: 3.359 kB / 409.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2795, allocations: 5.312 kB / 409.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.2804, allocations: 409.6 kB / 410.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.2805, allocations: 9.953 kB / 410.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.2805, allocations: 7.703 kB / 410.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2807, allocations: 14.78 kB / 410.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.2808, allocations: 20.44 kB / 410.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2808, allocations: 9.234 kB / 410.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.539e-05/0.2809, allocations: 106.7 kB / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2809, allocations: 0 / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.2813, allocations: 64.14 kB / 410.3 MB, free: 15.46 MB / 334.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.001432/0.2827, allocations: 0.9812 MB / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006719/0.2834, allocations: 222.6 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2834, allocations: 1.5 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.2836, allocations: 87.31 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2841, allocations: 34.56 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.2881, allocations: 2.363 MB / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2882, allocations: 107.8 kB / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.2885, allocations: 50.48 kB / 414.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2886, allocations: 47.88 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2886, allocations: 1.375 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.3251, allocations: 5.227 MB / 419.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.66, allocations: 5.438 kB / 419.4 MB, free: 9.484 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.053563151974231]