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.001357/0.001357, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2368, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004104/0.2409, allocations: 3.503 MB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2425, allocations: 0.9829 MB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.2428, allocations: 7.938 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2431, allocations: 103.1 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.2435, allocations: 186.4 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.2437, allocations: 123.8 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.2444, allocations: 0.6375 MB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.2447, allocations: 194.8 kB / 414.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.2449, allocations: 235.2 kB / 414.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.2452, allocations: 278.8 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.2453, allocations: 55.94 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.2454, allocations: 52 kB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.254e-05/0.2455, allocations: 119.6 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.2458, allocations: 294.6 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.2463, allocations: 0.6423 MB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2463, allocations: 4 kB / 416.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2464, allocations: 0 / 416.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.2464, allocations: 0 / 416.1 MB, free: 10.13 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.001284/0.2477, allocations: 0.8467 MB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2477, allocations: 8.031 kB / 417 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.2478, allocations: 79.62 kB / 417.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2479, allocations: 64.28 kB / 417.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.2485, allocations: 399 kB / 417.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/0.2486, allocations: 55.25 kB / 417.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.2487, allocations: 40.38 kB / 417.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.2493, allocations: 474 kB / 418.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2494, allocations: 0 / 418.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.2494, allocations: 16 kB / 418.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2494, allocations: 8 kB / 418.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.25, allocations: 279.8 kB / 418.4 MB, free: 7.73 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.002018/0.252, allocations: 1.304 MB / 419.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2531, allocations: 448.4 kB / 420.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.2534, allocations: 136.8 kB / 420.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.2534, allocations: 11.97 kB / 420.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2535, allocations: 38.56 kB / 420.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.2535, allocations: 4 kB / 420.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001124/0.2546, allocations: 0.61 MB / 420.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.2548, allocations: 445 kB / 421.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.2553, allocations: 450 kB / 421.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2553, allocations: 37.7 kB / 421.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2555, allocations: 232.4 kB / 422 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.2556, allocations: 114.3 kB / 422.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2557, allocations: 74.03 kB / 422.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2558, allocations: 354.8 kB / 422.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.256, allocations: 104.6 kB / 422.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.2564, allocations: 256 kB / 422.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.2569, allocations: 277.2 kB / 423.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2569, allocations: 4 kB / 423.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006748/0.2576, allocations: 424.3 kB / 423.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.2576, allocations: 29.7 kB / 423.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2576, allocations: 0 / 423.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.2578, allocations: 53.62 kB / 423.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.2581, allocations: 71.94 kB / 423.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.2604, allocations: 2.965 MB / 426.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.2608, allocations: 47.56 kB / 426.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2608, allocations: 12 kB / 426.8 MB, free: 14.6 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.0001941/0.261, allocations: 165.8 kB / 426.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.2611, allocations: 47.53 kB / 427 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.2612, allocations: 60.56 kB / 427.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2612, allocations: 8 kB / 427.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2612, allocations: 0 / 427.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006717/0.2619, allocations: 0.6454 MB / 427.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.2631, allocations: 0.9048 MB / 428.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2632, allocations: 4 kB / 428.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.2635, allocations: 67.89 kB / 428.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2635, allocations: 7.938 kB / 428.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.2635, allocations: 12 kB / 428.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2635, allocations: 0 / 428.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2635, allocations: 0 / 428.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.2643, allocations: 0.5161 MB / 429.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.2645, allocations: 164.4 kB / 429.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.2646, allocations: 12.06 kB / 429.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2649, allocations: 15.98 kB / 429.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2649, allocations: 19.97 kB / 429.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.265, allocations: 8 kB / 429.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.2653, allocations: 319.1 kB / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2653, allocations: 0 / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.2657, allocations: 135.8 kB / 429.9 MB, free: 11.3 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.001058/0.2668, allocations: 1.073 MB / 430.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.2676, allocations: 0.5712 MB / 431.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2677, allocations: 0 / 431.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2679, allocations: 123.8 kB / 431.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.2685, allocations: 136.3 kB / 431.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.2738, allocations: 4.239 MB / 436 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2741, allocations: 0.8198 MB / 436.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.2744, allocations: 68.33 kB / 436.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.2746, allocations: 155.4 kB / 437 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2746, allocations: 3.938 kB / 437.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/0.3236, allocations: 12.99 MB / 450 MB, free: 7.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.98, allocations: 12.11 kB / 450.1 MB, free: 7.207 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