Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001716/0.001716, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.91 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 53.41 MB / 431.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006199/0.3029, allocations: 4.592 MB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.305, allocations: 1.825 MB / 437.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3051, allocations: 0 / 437.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3053, allocations: 39.69 kB / 437.6 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.3057, allocations: 127.2 kB / 437.7 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.3064, allocations: 262.3 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.3068, allocations: 290.8 kB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.3068, allocations: 13.27 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.3071, allocations: 143.5 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3073, allocations: 83.66 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3073, allocations: 8 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.3076, allocations: 107.9 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.3076, allocations: 43.77 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.3077, allocations: 75.72 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3081, allocations: 227.6 kB / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3081, allocations: 0 / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3081, allocations: 4 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3081, allocations: 0 / 439 MB, free: 14.91 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.0009379/0.309, allocations: 413.8 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3091, allocations: 12.03 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.3091, allocations: 50.73 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3093, allocations: 20.89 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3096, allocations: 154.3 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3096, allocations: 16.59 kB / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.3097, allocations: 12.38 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.3101, allocations: 225.1 kB / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3101, allocations: 0 / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.3101, allocations: 8 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3102, allocations: 0 / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.3105, allocations: 155.8 kB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3119, allocations: 0.9025 MB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3123, allocations: 150.7 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3125, allocations: 48.83 kB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.3129, allocations: 328.2 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.313, allocations: 34.56 kB / 441.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.313, allocations: 0 / 441.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002573/0.3156, allocations: 0.7097 MB / 442.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3156, allocations: 51.41 kB / 442.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3157, allocations: 169.4 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3158, allocations: 29.7 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.3159, allocations: 144.1 kB / 442.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.3159, allocations: 79.31 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.316, allocations: 57.69 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3162, allocations: 326.8 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3164, allocations: 79.94 kB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3167, allocations: 201.9 kB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.3173, allocations: 297.4 kB / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3173, allocations: 0 / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007402/0.318, allocations: 325 kB / 443.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3181, allocations: 4 kB / 443.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3181, allocations: 4 kB / 443.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3181, allocations: 4 kB / 443.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.3185, allocations: 88.36 kB / 444 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3185, allocations: 11.98 kB / 444 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3187, allocations: 12 kB / 444 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.3188, allocations: 15.98 kB / 444 MB, free: 9.48 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.0001355/0.3189, allocations: 137.7 kB / 444.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3189, allocations: 15.91 kB / 444.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.3196, allocations: 242.6 kB / 444.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3196, allocations: 4 kB / 444.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3196, allocations: 0 / 444.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3196, allocations: 0 / 444.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.3209, allocations: 0.5671 MB / 445 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3209, allocations: 4 kB / 445 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.3212, allocations: 60.02 kB / 445.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3212, allocations: 3.938 kB / 445.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3213, allocations: 7.984 kB / 445.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3213, allocations: 4 kB / 445.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3213, allocations: 3.938 kB / 445.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.3221, allocations: 411.1 kB / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.3222, allocations: 27.88 kB / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3222, allocations: 4 kB / 445.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3225, allocations: 23.98 kB / 445.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.3225, allocations: 15.97 kB / 445.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3225, allocations: 4 kB / 445.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3226, allocations: 116.1 kB / 445.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3226, allocations: 0 / 445.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.323, allocations: 67.88 kB / 445.7 MB, free: 7.68 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.00123/0.3243, allocations: 0.971 MB / 446.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.3249, allocations: 211 kB / 446.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3249, allocations: 0 / 446.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.3251, allocations: 92.94 kB / 447 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3255, allocations: 46.23 kB / 447.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3291, allocations: 2.376 MB / 449.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3294, allocations: 0.7207 MB / 450.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.3297, allocations: 45.88 kB / 450.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3298, allocations: 51.41 kB / 450.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3298, allocations: 0 / 450.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.3647, allocations: 4.837 MB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.08, allocations: 0 / 455.1 MB, free: 14.2 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.729361740002787]