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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 101.7 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009512/0.0009513, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2017, allocations: 50.46 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004657/0.2064, allocations: 4.549 MB / 411.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2081, allocations: 1.818 MB / 413.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2082, allocations: 4 kB / 413.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.2085, allocations: 31.81 kB / 413.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.2089, allocations: 119.3 kB / 413.6 MB, free: 21.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2095, allocations: 219.6 kB / 413.8 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.2099, allocations: 370.8 kB / 414.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.21, allocations: 13.12 kB / 414.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.2102, allocations: 127.5 kB / 414.3 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2104, allocations: 79.67 kB / 414.4 MB, free: 20.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.2104, allocations: 8 kB / 414.4 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.2108, allocations: 103.8 kB / 414.5 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.2108, allocations: 27.91 kB / 414.5 MB, free: 20.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.2109, allocations: 79.64 kB / 414.6 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.2113, allocations: 205 kB / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2113, allocations: 4 kB / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2113, allocations: 0 / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2113, allocations: 0 / 414.8 MB, free: 20.07 MB / 298.7 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.0008379/0.2121, allocations: 495.2 kB / 415.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2122, allocations: 16.02 kB / 415.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2124, allocations: 20.84 kB / 415.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2126, allocations: 204.1 kB / 415.5 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2126, allocations: 16.64 kB / 415.5 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2127, allocations: 16.38 kB / 415.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.213, allocations: 221.2 kB / 415.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2131, allocations: 4 kB / 415.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2131, allocations: 4 kB / 415.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2131, allocations: 7.938 kB / 415.8 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2134, allocations: 155.8 kB / 415.9 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2146, allocations: 0.9363 MB / 416.8 MB, free: 17.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.2149, allocations: 154.7 kB / 417 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.2151, allocations: 52.83 kB / 417 MB, free: 17.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.2155, allocations: 0.5031 MB / 417.5 MB, free: 17.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2155, allocations: 38.56 kB / 417.6 MB, free: 16.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2155, allocations: 3.938 kB / 417.6 MB, free: 16.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002289/0.2178, allocations: 0.7654 MB / 418.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.2179, allocations: 55.34 kB / 418.4 MB, free: 16.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.218, allocations: 161.4 kB / 418.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.218, allocations: 25.7 kB / 418.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2181, allocations: 143.8 kB / 418.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.2181, allocations: 71 kB / 418.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.2182, allocations: 65.59 kB / 418.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.2182, allocations: 318.8 kB / 419.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2185, allocations: 87.94 kB / 419.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2187, allocations: 196.5 kB / 419.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.2192, allocations: 292 kB / 419.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2192, allocations: 4 kB / 419.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006167/0.2198, allocations: 325 kB / 420.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2199, allocations: 4 kB / 420.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2199, allocations: 4 kB / 420.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2199, allocations: 8.469 kB / 420.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.2202, allocations: 79.89 kB / 420.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2203, allocations: 4 kB / 420.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2205, allocations: 23.92 kB / 420.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.2205, allocations: 19.98 kB / 420.2 MB, free: 14.17 MB / 298.7 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.085e-05/0.2206, allocations: 141.6 kB / 420.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.2207, allocations: 15.81 kB / 420.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.2213, allocations: 242.6 kB / 420.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2213, allocations: 4 kB / 420.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2213, allocations: 0 / 420.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2213, allocations: 0 / 420.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.2225, allocations: 0.5912 MB / 421.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2225, allocations: 4.125 kB / 421.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.2228, allocations: 51.89 kB / 421.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2228, allocations: 4 kB / 421.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.2228, allocations: 11.98 kB / 421.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2228, allocations: 3.938 kB / 421.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2228, allocations: 4 kB / 421.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2242, allocations: 1.333 MB / 422.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.2242, allocations: 92.98 kB / 422.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.2243, allocations: 4 kB / 422.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.2245, allocations: 20.11 kB / 422.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.2245, allocations: 7.984 kB / 422.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.2245, allocations: 19.98 kB / 422.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.2246, allocations: 106.3 kB / 422.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2246, allocations: 0 / 422.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004307/0.225, allocations: 83.86 kB / 422.9 MB, free: 11.2 MB / 298.7 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.0002323/0.2253, allocations: 131.2 kB / 423.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005333/0.2258, allocations: 212.2 kB / 423.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2258, allocations: 0 / 423.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.2261, allocations: 91.88 kB / 423.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2264, allocations: 47.28 kB / 423.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.2274, allocations: 0.6795 MB / 424.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2275, allocations: 0.7168 MB / 424.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.2278, allocations: 53.81 kB / 424.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.2279, allocations: 27.42 kB / 424.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2279, allocations: 0 / 424.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of Templates: time 0.004928/0.2328, allocations: 2.649 MB / 427.5 MB, free: 6.531 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches