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.001951/0.001951, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002371/0.002371, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.522/1.522, allocations: 230.2 MB / 255.1 MB, free: 15.28 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: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 53.31 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.1985/0.3016, allocations: 4.565 MB / 432.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3036, allocations: 1.816 MB / 434.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.3037, allocations: 1.625 kB / 434.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.304, allocations: 43.3 kB / 434.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3043, allocations: 130.7 kB / 434.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.305, allocations: 249.6 kB / 434.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3053, allocations: 297.1 kB / 434.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3053, allocations: 5.5 kB / 434.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.3056, allocations: 126.3 kB / 435 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3057, allocations: 90.02 kB / 435.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.3057, allocations: 12.06 kB / 435.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.306, allocations: 103.6 kB / 435.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.306, allocations: 35.58 kB / 435.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3061, allocations: 81.84 kB / 435.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3065, allocations: 224.3 kB / 435.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3065, allocations: 3.656 kB / 435.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3065, allocations: 0 / 435.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3065, allocations: 0 / 435.6 MB, free: 7.941 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.0008867/0.3074, allocations: 0.492 MB / 436.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3074, allocations: 9.469 kB / 436.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.3077, allocations: 21.02 kB / 436.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3079, allocations: 208.7 kB / 436.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3079, allocations: 10.44 kB / 436.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3079, allocations: 16.44 kB / 436.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.3083, allocations: 219.6 kB / 436.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3084, allocations: 1.062 kB / 436.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3084, allocations: 5.781 kB / 436.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3084, allocations: 3.875 kB / 436.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.3088, allocations: 148.4 kB / 436.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.31, allocations: 0.9487 MB / 437.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.3104, allocations: 141 kB / 437.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.3105, allocations: 56.05 kB / 437.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.311, allocations: 0.5111 MB / 438.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.311, allocations: 32.52 kB / 438.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.311, allocations: 0 / 438.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002668/0.3137, allocations: 0.7765 MB / 439.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3137, allocations: 54.59 kB / 439.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3138, allocations: 155.3 kB / 439.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3138, allocations: 31.02 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3139, allocations: 141.8 kB / 439.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.3139, allocations: 75.8 kB / 439.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.314, allocations: 60.44 kB / 439.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3141, allocations: 327.2 kB / 440 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.3144, allocations: 86.03 kB / 440.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.3147, allocations: 191.7 kB / 440.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.3152, allocations: 292.7 kB / 440.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3152, allocations: 5.75 kB / 440.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007471/0.316, allocations: 316.1 kB / 440.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.316, allocations: 7.688 kB / 440.9 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.316, allocations: 7.906 kB / 440.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.316, allocations: 6.172 kB / 440.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.3164, allocations: 85.12 kB / 441 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3165, allocations: 6.828 kB / 441 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3167, allocations: 16.55 kB / 441 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3167, allocations: 16.7 kB / 441 MB, free: 4.562 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.0001106/0.3168, allocations: 137.5 kB / 441.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.3169, allocations: 19.19 kB / 441.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.3176, allocations: 241.4 kB / 441.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3176, allocations: 2.281 kB / 441.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3176, allocations: 1.969 kB / 441.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3176, allocations: 0.6562 kB / 441.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3189, allocations: 0.6017 MB / 442 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3189, allocations: 3.625 kB / 442 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.3192, allocations: 52.98 kB / 442 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3192, allocations: 1.344 kB / 442 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.3192, allocations: 9.594 kB / 442.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3192, allocations: 2.203 kB / 442.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3192, allocations: 1.281 kB / 442.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.3201, allocations: 425.4 kB / 442.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.3202, allocations: 103.8 kB / 442.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.3202, allocations: 8.391 kB / 442.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3204, allocations: 9.141 kB / 442.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3205, allocations: 19.41 kB / 442.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3205, allocations: 9.406 kB / 442.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.3206, allocations: 112.9 kB / 442.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3206, allocations: 4.062 kB / 442.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.321, allocations: 63.78 kB / 442.8 MB, free: 3.641 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.0002166/0.3212, allocations: 126.4 kB / 442.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.3219, allocations: 204.3 kB / 443.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3219, allocations: 0.9688 kB / 443.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.3222, allocations: 90.58 kB / 443.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3226, allocations: 44.98 kB / 443.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3237, allocations: 0.5085 MB / 443.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3238, allocations: 0.7125 MB / 444.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3239, allocations: 31.55 kB / 444.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3239, allocations: 1.094 kB / 444.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of Templates: time 0.005887/0.3298, allocations: 2.637 MB / 447.1 MB, free: 2.246 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.111334981862456]