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.001724/0.001724, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002266/0.002266, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001948/0.001948, allocations: 55.91 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2545, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006703/0.2612, allocations: 4.271 MB / 435.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2634, allocations: 1.619 MB / 437 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.2634, allocations: 3.938 kB / 437 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.2637, allocations: 39.75 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.264, allocations: 131.2 kB / 437.2 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.2647, allocations: 253.3 kB / 437.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2652, allocations: 294.8 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.2652, allocations: 13.25 kB / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.2655, allocations: 139.6 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.2656, allocations: 75.69 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.2656, allocations: 8 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.2659, allocations: 95.81 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.2659, allocations: 43.88 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.266, allocations: 59.8 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.2664, allocations: 228.9 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2664, allocations: 0 / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2664, allocations: 0 / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2664, allocations: 4 kB / 438.4 MB, free: 15.19 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.001051/0.2674, allocations: 417.8 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2675, allocations: 15.92 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.2675, allocations: 50.73 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2677, allocations: 20.88 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.268, allocations: 158.3 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2681, allocations: 8.656 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.2681, allocations: 16.38 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.2687, allocations: 379.9 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2687, allocations: 7.875 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2688, allocations: 8 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2688, allocations: 4 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.2692, allocations: 143.8 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.2706, allocations: 0.8791 MB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.271, allocations: 142.7 kB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.2712, allocations: 52.77 kB / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.2717, allocations: 332.2 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2717, allocations: 34.56 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.2717, allocations: 0 / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002626/0.2744, allocations: 0.6907 MB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2744, allocations: 55.41 kB / 441.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2746, allocations: 165.4 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2746, allocations: 25.7 kB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2747, allocations: 152 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.2748, allocations: 83.34 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2749, allocations: 61.66 kB / 442.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.275, allocations: 322.8 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.2753, allocations: 83.94 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.2757, allocations: 190 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.2763, allocations: 297.4 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2763, allocations: 0 / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007803/0.2771, allocations: 329 kB / 443.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2771, allocations: 4 kB / 443.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2771, allocations: 4 kB / 443.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2771, allocations: 8.469 kB / 443.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.2775, allocations: 83.88 kB / 443.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2776, allocations: 7.938 kB / 443.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.2778, allocations: 19.98 kB / 443.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2778, allocations: 16 kB / 443.6 MB, free: 9.594 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.000131/0.2779, allocations: 137.7 kB / 443.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.278, allocations: 19.89 kB / 443.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.2787, allocations: 246.5 kB / 444 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2788, allocations: 4 kB / 444 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2788, allocations: 0 / 444 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2788, allocations: 3.984 kB / 444 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.2801, allocations: 0.5586 MB / 444.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2801, allocations: 0 / 444.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.2805, allocations: 43.97 kB / 444.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2805, allocations: 4 kB / 444.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.2805, allocations: 11.98 kB / 444.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2805, allocations: 8.062 kB / 444.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.2805, allocations: 11.92 kB / 444.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.2814, allocations: 402.7 kB / 445 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.2815, allocations: 27.91 kB / 445 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2816, allocations: 8.062 kB / 445 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.2818, allocations: 15.92 kB / 445 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2818, allocations: 23.91 kB / 445.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.2818, allocations: 11.98 kB / 445.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.2819, allocations: 104.1 kB / 445.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2819, allocations: 0 / 445.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.2823, allocations: 63.98 kB / 445.2 MB, free: 7.812 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.00138/0.2837, allocations: 0.968 MB / 446.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.2844, allocations: 207.8 kB / 446.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2844, allocations: 4 kB / 446.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.2846, allocations: 93 kB / 446.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.2851, allocations: 35.83 kB / 446.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.2889, allocations: 2.384 MB / 448.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.289, allocations: 103.3 kB / 449 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.2893, allocations: 49.88 kB / 449.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2894, allocations: 55.41 kB / 449.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2894, allocations: 0 / 449.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.3251, allocations: 5.187 MB / 454.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.52, allocations: 3.562 kB / 454.3 MB, free: 14.61 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 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.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_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: 14.012553727254272]