Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2093, allocations: 50.55 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004404/0.2137, allocations: 3.495 MB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.2154, allocations: 0.9735 MB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2156, allocations: 4 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.2159, allocations: 111 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.2163, allocations: 186.4 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2165, allocations: 127.8 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.2172, allocations: 0.6302 MB / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.2175, allocations: 198.5 kB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2177, allocations: 247.1 kB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.218, allocations: 270.8 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.2181, allocations: 52 kB / 416.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.2182, allocations: 56 kB / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.2183, allocations: 115.6 kB / 416.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.2186, allocations: 298.5 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.2191, allocations: 0.6399 MB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2191, allocations: 0 / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2192, allocations: 0 / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2192, allocations: 0 / 417.3 MB, free: 10.22 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001327/0.2205, allocations: 0.8467 MB / 418.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2205, allocations: 8.031 kB / 418.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.2207, allocations: 60.28 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.2212, allocations: 394.6 kB / 418.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2213, allocations: 66.84 kB / 418.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.2214, allocations: 32.38 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.222, allocations: 465.1 kB / 419.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2221, allocations: 0 / 419.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2221, allocations: 12 kB / 419.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2221, allocations: 8 kB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.2227, allocations: 282.4 kB / 419.4 MB, free: 7.926 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.001924/0.2246, allocations: 1.294 MB / 420.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2257, allocations: 438.7 kB / 421.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.226, allocations: 136.8 kB / 421.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.2261, allocations: 7.938 kB / 421.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2261, allocations: 38.56 kB / 421.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.2261, allocations: 0 / 421.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001086/0.2272, allocations: 0.6068 MB / 422 MB, free: 5.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.2274, allocations: 448.9 kB / 422.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.2278, allocations: 457.8 kB / 422.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2279, allocations: 33.7 kB / 422.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.228, allocations: 232.5 kB / 423.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.2281, allocations: 110.4 kB / 423.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2283, allocations: 81.92 kB / 423.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2284, allocations: 350.8 kB / 423.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2286, allocations: 108.6 kB / 423.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.229, allocations: 256 kB / 424 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.2295, allocations: 273.2 kB / 424.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2295, allocations: 8 kB / 424.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006887/0.2302, allocations: 412.3 kB / 424.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2302, allocations: 29.7 kB / 424.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2302, allocations: 0 / 424.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.2304, allocations: 53.69 kB / 424.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.2307, allocations: 71.89 kB / 424.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.233, allocations: 2.965 MB / 427.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.2334, allocations: 47.66 kB / 427.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.2334, allocations: 23.98 kB / 427.8 MB, free: 14.81 MB / 350.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.0001791/0.2336, allocations: 161.8 kB / 428 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.2337, allocations: 47.44 kB / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2338, allocations: 48.7 kB / 428.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006464/0.2345, allocations: 0.6532 MB / 428.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.2345, allocations: 0 / 428.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.2347, allocations: 164.4 kB / 428.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.2347, allocations: 8 kB / 428.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.2351, allocations: 15.98 kB / 428.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2351, allocations: 23.97 kB / 429 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007492/0.2359, allocations: 381.9 kB / 429.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008337/0.2367, allocations: 0.5965 MB / 429.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002125/0.2369, allocations: 120 kB / 430 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.2373, allocations: 319.1 kB / 430.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Backend: time 1.683e-06/0.2373, allocations: 8 kB / 430.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009876/0.2383, allocations: 0.5576 MB / 430.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 0.001501/0.2398, allocations: 1.358 MB / 432.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Templates: time 0.01292/0.2527, allocations: 8.403 MB / 440.7 MB, free: 1.859 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches