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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.159/2.159, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2983, allocations: 50.55 MB / 409.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007146/0.3055, allocations: 4.531 MB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3083, allocations: 1.822 MB / 416.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3085, allocations: 4 kB / 416.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.3089, allocations: 35.75 kB / 416.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.3095, allocations: 131.2 kB / 416.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.3103, allocations: 246.9 kB / 416.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.3108, allocations: 294.9 kB / 417 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.3108, allocations: 13.06 kB / 417 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.3112, allocations: 131.6 kB / 417.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3114, allocations: 83.67 kB / 417.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.3114, allocations: 8 kB / 417.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.3118, allocations: 91.88 kB / 417.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.3119, allocations: 43.89 kB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.312, allocations: 79.64 kB / 417.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.3124, allocations: 212.7 kB / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3124, allocations: 0 / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3124, allocations: 0 / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3124, allocations: 0 / 417.6 MB, free: 10.05 MB / 334.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.001032/0.3135, allocations: 487.3 kB / 418.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3135, allocations: 12.03 kB / 418.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.3137, allocations: 28.73 kB / 418.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.3141, allocations: 216 kB / 418.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3141, allocations: 8.656 kB / 418.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.3142, allocations: 12.38 kB / 418.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.3146, allocations: 221.6 kB / 418.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3146, allocations: 0 / 418.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3147, allocations: 8 kB / 418.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3147, allocations: 4 kB / 418.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.315, allocations: 151.8 kB / 418.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3164, allocations: 0.9401 MB / 419.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.3168, allocations: 150.7 kB / 419.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.317, allocations: 52.77 kB / 419.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.3176, allocations: 0.5148 MB / 420.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3176, allocations: 34.56 kB / 420.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.3176, allocations: 0 / 420.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002737/0.3204, allocations: 0.7766 MB / 421.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3205, allocations: 55.41 kB / 421.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3206, allocations: 157.6 kB / 421.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3207, allocations: 29.7 kB / 421.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3208, allocations: 139.8 kB / 421.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3208, allocations: 70.98 kB / 421.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.321, allocations: 65.59 kB / 421.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3211, allocations: 322.8 kB / 422 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.3214, allocations: 83.94 kB / 422.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3217, allocations: 193.6 kB / 422.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.3223, allocations: 293 kB / 422.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3223, allocations: 4 kB / 422.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007568/0.3231, allocations: 313.1 kB / 422.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3231, allocations: 4.469 kB / 422.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3231, allocations: 11.94 kB / 422.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3232, allocations: 8 kB / 422.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.3236, allocations: 83.88 kB / 423 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3236, allocations: 4 kB / 423 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3239, allocations: 19.98 kB / 423 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.3239, allocations: 23.92 kB / 423 MB, free: 4.152 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.0001514/0.3241, allocations: 145.6 kB / 423.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3241, allocations: 19.75 kB / 423.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.3249, allocations: 234.7 kB / 423.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3249, allocations: 7.938 kB / 423.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3249, allocations: 0 / 423.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3249, allocations: 0 / 423.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.3263, allocations: 0.5955 MB / 424 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3263, allocations: 0 / 424 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.3267, allocations: 51.91 kB / 424.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3267, allocations: 4 kB / 424.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.3267, allocations: 7.984 kB / 424.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3267, allocations: 3.984 kB / 424.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3267, allocations: 7.938 kB / 424.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.3276, allocations: 405.3 kB / 424.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3278, allocations: 104.9 kB / 424.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3278, allocations: 8 kB / 424.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.3281, allocations: 19.92 kB / 424.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.3281, allocations: 11.98 kB / 424.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3281, allocations: 7.984 kB / 424.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3282, allocations: 115.2 kB / 424.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3282, allocations: 64 / 424.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00041/0.3287, allocations: 71.94 kB / 424.8 MB, free: 2.23 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.0002666/0.3289, allocations: 127.2 kB / 425 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.3296, allocations: 215.7 kB / 425.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3296, allocations: 0 / 425.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.3299, allocations: 97 kB / 425.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3303, allocations: 43.16 kB / 425.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3315, allocations: 0.5018 MB / 425.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3318, allocations: 0.7206 MB / 426.5 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3319, allocations: 27.42 kB / 426.6 MB, free: 436 kB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3319, allocations: 7.938 kB / 426.6 MB, free: 428 kB / 334.1 MB Notification: Performance of Templates: time 0.005322/0.3372, allocations: 2.668 MB / 429.2 MB, free: 13.75 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches