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.001509/0.001509, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001394/0.001394, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.406/1.406, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.001579/0.001579, allocations: 55.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09336, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006128/0.09949, allocations: 4.564 MB / 430.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1784/0.2779, allocations: 1.815 MB / 432.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.278, allocations: 1.25 kB / 432.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2782, allocations: 43.48 kB / 432.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.2785, allocations: 126.6 kB / 432.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.2791, allocations: 247.7 kB / 433.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.2794, allocations: 293.7 kB / 433.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.2795, allocations: 7.438 kB / 433.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.2797, allocations: 134.7 kB / 433.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2798, allocations: 88.56 kB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.2798, allocations: 12.25 kB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.28, allocations: 105 kB / 433.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.2801, allocations: 38.75 kB / 433.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.2802, allocations: 76.58 kB / 433.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.2805, allocations: 225.6 kB / 434 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2805, allocations: 0 / 434 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2805, allocations: 1.219 kB / 434 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2805, allocations: 0 / 434 MB, free: 7.395 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.0009074/0.2814, allocations: 0.4905 MB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2815, allocations: 9.562 kB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.2815, allocations: 52.34 kB / 434.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.2817, allocations: 19.77 kB / 434.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.282, allocations: 213.6 kB / 434.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.282, allocations: 8.562 kB / 434.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.282, allocations: 21.72 kB / 434.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2824, allocations: 209.2 kB / 435.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2824, allocations: 3.531 kB / 435.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.2824, allocations: 5.594 kB / 435.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2824, allocations: 4.094 kB / 435.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2828, allocations: 155.5 kB / 435.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.2838, allocations: 0.9503 MB / 436.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.2842, allocations: 141.3 kB / 436.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2844, allocations: 53.08 kB / 436.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.2848, allocations: 0.506 MB / 436.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.2848, allocations: 32.17 kB / 436.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2848, allocations: 0 / 436.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00253/0.2873, allocations: 0.7753 MB / 437.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.2874, allocations: 53.75 kB / 437.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2875, allocations: 157.9 kB / 437.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2875, allocations: 30.45 kB / 437.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.2875, allocations: 143.2 kB / 438 MB, free: 4.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2876, allocations: 76.83 kB / 438.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.2877, allocations: 61.16 kB / 438.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.2877, allocations: 322.5 kB / 438.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.288, allocations: 84.42 kB / 438.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.2883, allocations: 198.3 kB / 438.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2888, allocations: 299.6 kB / 439.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2888, allocations: 1.188 kB / 439.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006985/0.2895, allocations: 320.9 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2895, allocations: 7.438 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2895, allocations: 3.984 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2895, allocations: 5.25 kB / 439.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.2899, allocations: 81.92 kB / 439.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2899, allocations: 11.09 kB / 439.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2902, allocations: 20.08 kB / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2902, allocations: 15.84 kB / 439.5 MB, free: 3.961 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.083e-05/0.2903, allocations: 129 kB / 439.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.2904, allocations: 24.03 kB / 439.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.291, allocations: 231.8 kB / 439.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.291, allocations: 7.281 kB / 439.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.291, allocations: 2.656 kB / 439.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.291, allocations: 1.172 kB / 439.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2922, allocations: 0.6054 MB / 440.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2922, allocations: 1.094 kB / 440.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2925, allocations: 48.83 kB / 440.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2925, allocations: 2.812 kB / 440.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2925, allocations: 8.516 kB / 440.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2925, allocations: 2.125 kB / 440.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2925, allocations: 17.06 kB / 440.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.2934, allocations: 402.5 kB / 441 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.2934, allocations: 103.4 kB / 441.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.2935, allocations: 8.812 kB / 441.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.2937, allocations: 17.02 kB / 441.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2937, allocations: 25.09 kB / 441.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.2938, allocations: 9.609 kB / 441.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.2938, allocations: 111.8 kB / 441.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2938, allocations: 1 kB / 441.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.2942, allocations: 66.75 kB / 441.3 MB, free: 3.047 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.001022/0.2952, allocations: 0.9613 MB / 442.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.2958, allocations: 208.4 kB / 442.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2958, allocations: 0 / 442.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2961, allocations: 86.55 kB / 442.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.2965, allocations: 48.02 kB / 442.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.2998, allocations: 2.375 MB / 445 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3, allocations: 0.7131 MB / 445.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.3002, allocations: 48.12 kB / 445.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3003, allocations: 53.09 kB / 445.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3003, allocations: 0 / 445.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3291, allocations: 4.527 MB / 450.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.052, allocations: 5.125 kB / 450.3 MB, free: 15.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.351802092045546]