Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 110.9 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.308, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004734/0.3128, allocations: 3.501 MB / 404.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3144, allocations: 0.9423 MB / 405.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.3146, allocations: 4 kB / 405.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.315, allocations: 111 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.3154, allocations: 186.4 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3157, allocations: 123.8 kB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.3164, allocations: 0.6362 MB / 406.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.3167, allocations: 192.3 kB / 407.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.317, allocations: 239.1 kB / 407.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.3173, allocations: 274.8 kB / 407.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.3174, allocations: 52 kB / 407.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.3175, allocations: 52 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3176, allocations: 123.6 kB / 407.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3179, allocations: 290.7 kB / 408.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.3185, allocations: 0.6498 MB / 408.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3185, allocations: 0 / 408.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3185, allocations: 0 / 408.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3185, allocations: 0 / 408.7 MB, free: 1.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001375/0.3199, allocations: 0.8428 MB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3199, allocations: 8.031 kB / 409.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3201, allocations: 64.28 kB / 409.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.3206, allocations: 402.5 kB / 410 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.3207, allocations: 50.92 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.3208, allocations: 36.42 kB / 410.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.3215, allocations: 461.1 kB / 410.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3216, allocations: 0 / 410.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.3216, allocations: 16 kB / 410.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3216, allocations: 8 kB / 410.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.3222, allocations: 282.4 kB / 410.9 MB, free: 15.19 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3243, allocations: 1.29 MB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3255, allocations: 440.4 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3257, allocations: 145.7 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3258, allocations: 11.92 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3258, allocations: 38.56 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.3258, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.327, allocations: 0.5984 MB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.3272, allocations: 444.9 kB / 413.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.3277, allocations: 457.9 kB / 414.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.3278, allocations: 37.7 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3279, allocations: 232.4 kB / 414.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.328, allocations: 114.4 kB / 414.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3282, allocations: 70.02 kB / 414.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3283, allocations: 358.8 kB / 415.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.3286, allocations: 104.6 kB / 415.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.3289, allocations: 260 kB / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3294, allocations: 285.2 kB / 415.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3294, allocations: 0 / 415.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006924/0.3301, allocations: 416.3 kB / 416.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.3302, allocations: 33.7 kB / 416.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3302, allocations: 0 / 416.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.3304, allocations: 49.7 kB / 416.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3307, allocations: 67.92 kB / 416.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.3334, allocations: 2.972 MB / 419.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.3338, allocations: 43.67 kB / 419.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3339, allocations: 8 kB / 419.3 MB, free: 6.078 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.3341, allocations: 169.8 kB / 419.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.3342, allocations: 47.44 kB / 419.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.3343, allocations: 52.69 kB / 419.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3343, allocations: 4 kB / 419.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3343, allocations: 7.938 kB / 419.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006742/0.335, allocations: 0.6414 MB / 420.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3363, allocations: 0.897 MB / 421.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3363, allocations: 3.938 kB / 421.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.3366, allocations: 67.89 kB / 421.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3367, allocations: 4 kB / 421.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.3367, allocations: 12 kB / 421.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3367, allocations: 0 / 421.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3367, allocations: 0 / 421.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.3375, allocations: 0.5163 MB / 421.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3377, allocations: 168.4 kB / 421.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3378, allocations: 16 kB / 421.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.3381, allocations: 15.98 kB / 421.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3382, allocations: 19.97 kB / 421.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3382, allocations: 4 kB / 421.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.3386, allocations: 331.1 kB / 422.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3386, allocations: 0 / 422.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.339, allocations: 131.8 kB / 422.4 MB, free: 2.785 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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.0001288/0.3392, allocations: 107.2 kB / 422.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.3401, allocations: 0.563 MB / 423 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3401, allocations: 4 kB / 423 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.3404, allocations: 127.8 kB / 423.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.341, allocations: 145.9 kB / 423.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3426, allocations: 0.8912 MB / 424.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.3432, allocations: 0.8198 MB / 425 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3433, allocations: 39.48 kB / 425.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3433, allocations: 0 / 425.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01114/0.3545, allocations: 8.276 MB / 433.3 MB, free: 7.77 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches