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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2573, allocations: 50.53 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004245/0.2616, allocations: 3.499 MB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2633, allocations: 0.9751 MB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.2636, allocations: 11.94 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.264, allocations: 103.1 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.2645, allocations: 182.4 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2648, allocations: 131.8 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.2656, allocations: 0.6339 MB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.2659, allocations: 194.8 kB / 414.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2662, allocations: 239.1 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.2666, allocations: 274.8 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.2667, allocations: 52 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.2668, allocations: 52 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2669, allocations: 123.6 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.2671, allocations: 290.6 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.2677, allocations: 0.6423 MB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2677, allocations: 0 / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2677, allocations: 0 / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.2678, allocations: 4 kB / 416.1 MB, free: 10.12 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.001367/0.2691, allocations: 0.8467 MB / 417 MB, free: 9.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2692, allocations: 8.031 kB / 417 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.2693, allocations: 79.62 kB / 417.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2694, allocations: 64.22 kB / 417.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.27, allocations: 403 kB / 417.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.2701, allocations: 55.27 kB / 417.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.2702, allocations: 36.38 kB / 417.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.2709, allocations: 474 kB / 418.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2709, allocations: 7.984 kB / 418.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.2709, allocations: 16 kB / 418.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2709, allocations: 8 kB / 418.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.2715, allocations: 279.8 kB / 418.4 MB, free: 7.711 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.002084/0.2736, allocations: 1.304 MB / 419.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2747, allocations: 436.5 kB / 420.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.275, allocations: 144.7 kB / 420.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.275, allocations: 7.938 kB / 420.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2751, allocations: 38.56 kB / 420.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.2751, allocations: 0 / 420.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001149/0.2762, allocations: 0.6101 MB / 420.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.2764, allocations: 444.9 kB / 421.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.2769, allocations: 453.9 kB / 421.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.277, allocations: 33.7 kB / 421.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2772, allocations: 232.4 kB / 422 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.2773, allocations: 118.3 kB / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.2775, allocations: 78.02 kB / 422.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2776, allocations: 358.8 kB / 422.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.2778, allocations: 104.6 kB / 422.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.2782, allocations: 252.1 kB / 422.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.2786, allocations: 281.2 kB / 423.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2786, allocations: 0 / 423.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006935/0.2793, allocations: 416.3 kB / 423.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.2794, allocations: 33.7 kB / 423.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2794, allocations: 0 / 423.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.2796, allocations: 61.61 kB / 423.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2799, allocations: 71.89 kB / 423.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.2823, allocations: 2.949 MB / 426.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.2827, allocations: 51.8 kB / 426.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2828, allocations: 19.98 kB / 426.8 MB, free: 14.58 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.0002343/0.283, allocations: 169.3 kB / 426.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.2831, allocations: 51.42 kB / 427 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.2832, allocations: 52.64 kB / 427.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2832, allocations: 4 kB / 427.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2833, allocations: 96 / 427.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007055/0.284, allocations: 0.6608 MB / 427.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2854, allocations: 0.9047 MB / 428.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2854, allocations: 0 / 428.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.2857, allocations: 71.91 kB / 428.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.2858, allocations: 3.984 kB / 428.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.2858, allocations: 7.938 kB / 428.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2858, allocations: 4 kB / 428.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2858, allocations: 4 kB / 428.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.2867, allocations: 0.5122 MB / 429.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.287, allocations: 156.5 kB / 429.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.2871, allocations: 12 kB / 429.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2874, allocations: 15.98 kB / 429.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.2874, allocations: 24.03 kB / 429.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2875, allocations: 8 kB / 429.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003584/0.2878, allocations: 323.1 kB / 429.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 0 / 429.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.2883, allocations: 131.8 kB / 429.9 MB, free: 11.29 MB / 350.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.001123/0.2894, allocations: 1.073 MB / 431 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.2904, allocations: 0.5633 MB / 431.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.2904, allocations: 4 kB / 431.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.2906, allocations: 128 kB / 431.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.2913, allocations: 137.8 kB / 431.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.2969, allocations: 4.242 MB / 436 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2973, allocations: 0.8198 MB / 436.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.2975, allocations: 64.34 kB / 436.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.2978, allocations: 163.4 kB / 437.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of SimCode: time 1.493e-06/0.2978, allocations: 0 / 437.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.3345, allocations: 12.99 MB / 450.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.79, allocations: 12.36 kB / 450.1 MB, free: 7.184 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > 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