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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.8 kB / 17.06 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 193.4 kB / 18 MB, free: 4.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006096/0.2375, allocations: 4.477 MB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2398, allocations: 1.822 MB / 406.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.2399, allocations: 3.938 kB / 406.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.2402, allocations: 39.75 kB / 406.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.2406, allocations: 119.2 kB / 406.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2413, allocations: 248.2 kB / 406.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.2417, allocations: 290.9 kB / 407.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.2417, allocations: 12.64 kB / 407.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.242, allocations: 131.7 kB / 407.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2422, allocations: 75.62 kB / 407.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.2422, allocations: 12 kB / 407.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.2425, allocations: 95.86 kB / 407.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.2426, allocations: 35.89 kB / 407.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2428, allocations: 79.66 kB / 407.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2431, allocations: 210.3 kB / 407.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2432, allocations: 0 / 407.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2432, allocations: 0 / 407.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2432, allocations: 0 / 407.8 MB, free: 1.176 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.0009732/0.2442, allocations: 0.4903 MB / 408.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2442, allocations: 8.031 kB / 408.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.2443, allocations: 54.67 kB / 408.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.2445, allocations: 24.84 kB / 408.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2447, allocations: 204.2 kB / 408.6 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2448, allocations: 16.59 kB / 408.6 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.2448, allocations: 20.31 kB / 408.6 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.2452, allocations: 209.5 kB / 408.9 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2453, allocations: 8 kB / 408.9 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.2453, allocations: 7.938 kB / 408.9 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2453, allocations: 4 kB / 408.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.2457, allocations: 151.8 kB / 409 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.2472, allocations: 0.9481 MB / 410 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.2476, allocations: 146.7 kB / 410.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2478, allocations: 60.81 kB / 410.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.2483, allocations: 0.4954 MB / 410.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2484, allocations: 42.56 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2484, allocations: 0 / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002635/0.251, allocations: 0.7652 MB / 411.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2511, allocations: 51.41 kB / 411.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2512, allocations: 157.9 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2513, allocations: 33.64 kB / 411.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.2514, allocations: 152.1 kB / 411.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.2515, allocations: 75.36 kB / 411.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2516, allocations: 57.7 kB / 412 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2517, allocations: 330.8 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.252, allocations: 75.94 kB / 412.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.2523, allocations: 198.4 kB / 412.6 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.253, allocations: 305.3 kB / 412.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.253, allocations: 0 / 412.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007404/0.2537, allocations: 316.5 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2537, allocations: 8 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2538, allocations: 4 kB / 413.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2538, allocations: 4 kB / 413.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.2542, allocations: 88.17 kB / 413.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.2542, allocations: 11.94 kB / 413.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2544, allocations: 19.98 kB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.2545, allocations: 16 kB / 413.3 MB, free: 11.2 MB / 334.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.0001339/0.2546, allocations: 137.7 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.2547, allocations: 15.91 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.2554, allocations: 242.6 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2554, allocations: 7.938 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2554, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2554, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2568, allocations: 0.5954 MB / 414.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2568, allocations: 0 / 414.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.2571, allocations: 47.97 kB / 414.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2571, allocations: 12.11 kB / 414.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2572, allocations: 7.938 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2572, allocations: 3.938 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2572, allocations: 4 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.2581, allocations: 401.7 kB / 414.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.2581, allocations: 93.05 kB / 414.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2582, allocations: 11.88 kB / 414.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.2584, allocations: 20.05 kB / 414.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2585, allocations: 15.92 kB / 414.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2585, allocations: 7.984 kB / 414.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.505e-05/0.2586, allocations: 111.3 kB / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2586, allocations: 0 / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.259, allocations: 63.98 kB / 415.1 MB, free: 9.293 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.00132/0.2603, allocations: 0.9758 MB / 416.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.261, allocations: 219.8 kB / 416.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.261, allocations: 0 / 416.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.2613, allocations: 96.23 kB / 416.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2617, allocations: 43.95 kB / 416.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.2653, allocations: 2.366 MB / 418.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.2656, allocations: 0.7207 MB / 419.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.2658, allocations: 41.94 kB / 419.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.266, allocations: 47.42 kB / 419.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.266, allocations: 0 / 419.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.3021, allocations: 4.519 MB / 424.1 MB, free: 96 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.248, allocations: 14.97 kB / 424.1 MB, free: 84 kB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches