Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007495/0.0007495, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8778/0.8778, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 318.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.745e-05, allocations: 6.219 kB / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003691/0.003709, allocations: 4.187 MB / 322.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.005015, allocations: 1.623 MB / 324.2 MB, free: 416 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.005091, allocations: 3.938 kB / 324.2 MB, free: 412 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.005351, allocations: 43.69 kB / 324.3 MB, free: 368 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.005667, allocations: 123.1 kB / 324.4 MB, free: 244 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.006156, allocations: 260.8 kB / 324.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.006416, allocations: 290.7 kB / 324.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.006456, allocations: 9.25 kB / 324.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.006701, allocations: 171.6 kB / 325.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.006799, allocations: 71.78 kB / 325.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.006819, allocations: 8 kB / 325.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.007004, allocations: 95.88 kB / 325.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.007082, allocations: 39.83 kB / 325.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.007143, allocations: 59.89 kB / 325.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.007422, allocations: 231.3 kB / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007424, allocations: 0 / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007425, allocations: 0 / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00743, allocations: 0 / 325.6 MB, free: 15.03 MB / 298.7 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.0007005/0.00813, allocations: 421.9 kB / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.008182, allocations: 8.922 kB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.008226, allocations: 42.75 kB / 326.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.008342, allocations: 28.83 kB / 326.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.008548, allocations: 153.6 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.008565, allocations: 12.66 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.008594, allocations: 12.38 kB / 326.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.008946, allocations: 376.2 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.008959, allocations: 4.188 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.008981, allocations: 11.94 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008989, allocations: 7.938 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.009212, allocations: 147.8 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.01013, allocations: 0.8673 MB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.01039, allocations: 146.8 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.01048, allocations: 52.83 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000396/0.01088, allocations: 332.1 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.01091, allocations: 34.56 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.01091, allocations: 0 / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001584/0.01249, allocations: 0.6959 MB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.01253, allocations: 55.34 kB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.01265, allocations: 165.5 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.01267, allocations: 29.7 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.01275, allocations: 140.1 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.01279, allocations: 75.33 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.01287, allocations: 61.69 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01297, allocations: 322.8 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01311, allocations: 87.94 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.01331, allocations: 190.9 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.01364, allocations: 301.3 kB / 330.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01364, allocations: 0 / 330.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004083/0.01405, allocations: 320.3 kB / 330.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01407, allocations: 8 kB / 330.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01407, allocations: 4 kB / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01409, allocations: 4 kB / 330.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01427, allocations: 75.89 kB / 330.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01428, allocations: 11.92 kB / 330.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01439, allocations: 28.27 kB / 330.7 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.01441, allocations: 12 kB / 330.8 MB, free: 9.453 MB / 298.7 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 9.07e-05/0.0145, allocations: 129.8 kB / 330.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.01453, allocations: 19.84 kB / 330.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.01492, allocations: 250.4 kB / 331.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.01492, allocations: 0 / 331.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01493, allocations: 4 kB / 331.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01493, allocations: 0 / 331.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.01566, allocations: 0.555 MB / 331.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01566, allocations: 4.031 kB / 331.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.0158, allocations: 47.95 kB / 331.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.0158, allocations: 7.938 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.01582, allocations: 8 kB / 331.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01582, allocations: 0 / 331.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.01583, allocations: 7.984 kB / 331.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.01633, allocations: 406.4 kB / 332.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.01635, allocations: 11.91 kB / 332.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01637, allocations: 11.94 kB / 332.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01647, allocations: 15.98 kB / 332.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.0165, allocations: 15.91 kB / 332.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01651, allocations: 11.98 kB / 332.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.01656, allocations: 114.1 kB / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01656, allocations: 0 / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.01682, allocations: 63.94 kB / 332.4 MB, free: 7.691 MB / 298.7 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.0007589/0.01758, allocations: 0.9654 MB / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.01795, allocations: 212.2 kB / 333.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01795, allocations: 0 / 333.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01808, allocations: 91.81 kB / 333.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.01838, allocations: 39.41 kB / 333.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.02107, allocations: 2.326 MB / 336 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.02116, allocations: 103.3 kB / 336.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.02132, allocations: 41.94 kB / 336.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.02142, allocations: 56.47 kB / 336.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02142, allocations: 0 / 336.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.04016, allocations: 5.342 MB / 341.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.798, allocations: 11.06 kB / 341.6 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.556609995663166]