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.001566/0.001566, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001695/0.001695, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.002124/0.002124, allocations: 47.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1368, allocations: 53.32 MB / 426.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00797/0.1448, allocations: 4.574 MB / 430.9 MB, free: 228 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2584/0.4032, allocations: 1.809 MB / 432.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.4032, allocations: 4.438 kB / 432.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.4035, allocations: 42.58 kB / 432.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.4039, allocations: 128.7 kB / 432.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.4045, allocations: 247.7 kB / 433.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.4048, allocations: 291.4 kB / 433.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.4049, allocations: 5.875 kB / 433.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.4051, allocations: 136.1 kB / 433.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4052, allocations: 88.66 kB / 433.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.4052, allocations: 8.156 kB / 433.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.4055, allocations: 105.2 kB / 433.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.4056, allocations: 42.19 kB / 433.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.4057, allocations: 77 kB / 433.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.406, allocations: 225 kB / 434 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.406, allocations: 0 / 434 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.406, allocations: 3.156 kB / 434 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.406, allocations: 0 / 434 MB, free: 7.383 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.0009233/0.4069, allocations: 0.4918 MB / 434.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.407, allocations: 12.75 kB / 434.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.407, allocations: 49.27 kB / 434.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.4072, allocations: 23.14 kB / 434.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.4075, allocations: 207.6 kB / 434.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4075, allocations: 9.656 kB / 434.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.4075, allocations: 16.19 kB / 434.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.4079, allocations: 211.5 kB / 435.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4079, allocations: 7.922 kB / 435.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.408, allocations: 6.312 kB / 435.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.408, allocations: 4.469 kB / 435.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.4083, allocations: 146.4 kB / 435.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.4095, allocations: 0.9463 MB / 436.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.4099, allocations: 152 kB / 436.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.41, allocations: 53.44 kB / 436.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.4105, allocations: 0.5035 MB / 436.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4105, allocations: 35.31 kB / 436.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4105, allocations: 0 / 436.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002653/0.4132, allocations: 0.7686 MB / 437.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4132, allocations: 54.22 kB / 437.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4133, allocations: 159.3 kB / 437.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4134, allocations: 28.58 kB / 437.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.4134, allocations: 146.3 kB / 438 MB, free: 4.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.4135, allocations: 78.14 kB / 438.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.4136, allocations: 58.03 kB / 438.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.4136, allocations: 323 kB / 438.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.4139, allocations: 86.2 kB / 438.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.4142, allocations: 190.9 kB / 438.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.4147, allocations: 299.5 kB / 439.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4147, allocations: 1.406 kB / 439.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006985/0.4154, allocations: 316.6 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4155, allocations: 7.656 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4155, allocations: 4.25 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.4155, allocations: 9.328 kB / 439.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.4159, allocations: 85.88 kB / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4159, allocations: 10.55 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4161, allocations: 14.95 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.4162, allocations: 16.12 kB / 439.5 MB, free: 3.957 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 9.407e-05/0.4163, allocations: 130.6 kB / 439.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.4163, allocations: 23.81 kB / 439.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.417, allocations: 242.9 kB / 439.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.417, allocations: 2.312 kB / 439.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.417, allocations: 1.594 kB / 439.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.417, allocations: 1.172 kB / 439.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4183, allocations: 0.6032 MB / 440.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4183, allocations: 1.75 kB / 440.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.4186, allocations: 47.72 kB / 440.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4186, allocations: 2.703 kB / 440.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.4186, allocations: 16.69 kB / 440.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4186, allocations: 3.203 kB / 440.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4186, allocations: 5.344 kB / 440.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.4194, allocations: 410.4 kB / 441 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.4195, allocations: 104.6 kB / 441.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.4195, allocations: 6.859 kB / 441.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.4198, allocations: 21.06 kB / 441.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.4198, allocations: 11.19 kB / 441.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.4198, allocations: 15.45 kB / 441.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.254e-05/0.4199, allocations: 112.4 kB / 441.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4199, allocations: 64 / 441.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.4203, allocations: 68.27 kB / 441.3 MB, free: 3.043 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.00119/0.4215, allocations: 0.9602 MB / 442.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007165/0.4223, allocations: 205.8 kB / 442.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4223, allocations: 4.875 kB / 442.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.4225, allocations: 89.95 kB / 442.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.4229, allocations: 41.5 kB / 442.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.4263, allocations: 2.372 MB / 445 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4266, allocations: 0.717 MB / 445.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.4268, allocations: 49.06 kB / 445.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4269, allocations: 48.62 kB / 445.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.4269, allocations: 0 / 445.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.457, allocations: 4.539 MB / 450.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.342, allocations: 8.906 kB / 450.3 MB, free: 15.15 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.047437458008062]