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.001286/0.001286, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001451/0.001451, allocations: 211 kB / 23.73 MB, free: 4.523 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001502/0.001502, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2429, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005945/0.2488, allocations: 4.282 MB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2509, allocations: 1.611 MB / 436.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.2509, allocations: 4 kB / 436.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.2512, allocations: 35.7 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.2515, allocations: 131.2 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.2522, allocations: 252.4 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.2526, allocations: 298.8 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.2526, allocations: 17.25 kB / 437.7 MB, free: 8 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.2529, allocations: 135.6 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.253, allocations: 87.61 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.2531, allocations: 12 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.2533, allocations: 87.94 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.2534, allocations: 39.89 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.2535, allocations: 75.59 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2538, allocations: 228.9 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2538, allocations: 0 / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2538, allocations: 4 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2539, allocations: 0 / 438.3 MB, free: 15.36 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.000975/0.2548, allocations: 417.8 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2549, allocations: 8.031 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.2549, allocations: 50.73 kB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.2551, allocations: 20.88 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.2554, allocations: 150.3 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2554, allocations: 12.64 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.2554, allocations: 20.38 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.256, allocations: 379.6 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.256, allocations: 0 / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.256, allocations: 8 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2561, allocations: 4 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.2565, allocations: 148.6 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2578, allocations: 0.8752 MB / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.2582, allocations: 146.7 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2584, allocations: 48.83 kB / 440.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.2589, allocations: 328.2 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2589, allocations: 38.55 kB / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2589, allocations: 0 / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002752/0.2617, allocations: 0.6932 MB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2617, allocations: 55.41 kB / 441.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2619, allocations: 160 kB / 441.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.2619, allocations: 29.7 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.262, allocations: 160 kB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.2621, allocations: 71.42 kB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2622, allocations: 61.66 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2624, allocations: 322.8 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2626, allocations: 83.94 kB / 442.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.263, allocations: 197.3 kB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.2636, allocations: 296.4 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2636, allocations: 0 / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007371/0.2643, allocations: 325.1 kB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2643, allocations: 8 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2643, allocations: 8.406 kB / 443.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2644, allocations: 11.98 kB / 443.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.2648, allocations: 83.88 kB / 443.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2648, allocations: 8 kB / 443.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.265, allocations: 15.98 kB / 443.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2651, allocations: 19.94 kB / 443.5 MB, free: 9.77 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.0001318/0.2652, allocations: 145.5 kB / 443.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.2652, allocations: 15.91 kB / 443.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.2659, allocations: 238.6 kB / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2659, allocations: 0 / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2659, allocations: 0 / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.2659, allocations: 7.984 kB / 443.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.2674, allocations: 0.5593 MB / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.2674, allocations: 0 / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.2677, allocations: 51.91 kB / 444.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2677, allocations: 0 / 444.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2677, allocations: 16.11 kB / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2677, allocations: 4 kB / 444.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2677, allocations: 3.938 kB / 444.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.2686, allocations: 402.4 kB / 444.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.2687, allocations: 35.97 kB / 445 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.2687, allocations: 4 kB / 445 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.269, allocations: 19.92 kB / 445 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.269, allocations: 15.97 kB / 445 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.269, allocations: 11.98 kB / 445 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.2691, allocations: 106.9 kB / 445.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2691, allocations: 0 / 445.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004/0.2695, allocations: 60 kB / 445.2 MB, free: 7.996 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.00125/0.2708, allocations: 0.977 MB / 446.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.2714, allocations: 213.4 kB / 446.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2714, allocations: 0.9375 kB / 446.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.2717, allocations: 92.06 kB / 446.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2721, allocations: 39.81 kB / 446.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.2759, allocations: 2.382 MB / 448.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.276, allocations: 107.3 kB / 449 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.2762, allocations: 45.89 kB / 449 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.2764, allocations: 55.39 kB / 449.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2764, allocations: 0 / 449.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.3105, allocations: 5.274 MB / 454.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.95, allocations: 4 kB / 454.4 MB, free: 14.72 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.331217578001088]