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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001268/0.001268, allocations: 193.4 kB / 18 MB, free: 5.172 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 39.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004751/0.2409, allocations: 3.496 MB / 403.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2424, allocations: 0.9423 MB / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.2425, allocations: 11.94 kB / 404.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.2429, allocations: 107.1 kB / 404.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.2432, allocations: 178.4 kB / 405 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2435, allocations: 127.8 kB / 405.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.2442, allocations: 0.6405 MB / 405.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.2445, allocations: 186.9 kB / 405.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.2448, allocations: 235.1 kB / 406.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.2451, allocations: 278.8 kB / 406.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.2452, allocations: 52 kB / 406.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2453, allocations: 55.94 kB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2454, allocations: 123.6 kB / 406.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.2457, allocations: 286.7 kB / 406.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.2464, allocations: 0.652 MB / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2465, allocations: 0 / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2465, allocations: 4 kB / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2465, allocations: 0 / 407.6 MB, free: 1.441 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.001394/0.2479, allocations: 0.8581 MB / 408.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2479, allocations: 12.03 kB / 408.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.2481, allocations: 71.72 kB / 408.5 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2482, allocations: 72.56 kB / 408.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.2488, allocations: 403.3 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2489, allocations: 55.25 kB / 409 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.2489, allocations: 36.38 kB / 409.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.2497, allocations: 478 kB / 409.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2497, allocations: 0 / 409.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.2498, allocations: 19.94 kB / 409.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2498, allocations: 8 kB / 409.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.2504, allocations: 279.8 kB / 409.8 MB, free: 15.02 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.002153/0.2525, allocations: 1.312 MB / 411.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2537, allocations: 437.2 kB / 411.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.254, allocations: 140.8 kB / 411.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.254, allocations: 7.984 kB / 411.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.254, allocations: 38.56 kB / 411.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.254, allocations: 0 / 411.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001198/0.2552, allocations: 0.6109 MB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/0.2555, allocations: 445 kB / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.256, allocations: 461.8 kB / 413.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.2561, allocations: 33.7 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.2563, allocations: 232.7 kB / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2564, allocations: 127 kB / 413.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2565, allocations: 74.03 kB / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2567, allocations: 354.8 kB / 414.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.257, allocations: 104.6 kB / 414.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.2573, allocations: 252 kB / 414.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.2579, allocations: 281.2 kB / 414.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2579, allocations: 0 / 414.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007495/0.2586, allocations: 424.6 kB / 415.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.2587, allocations: 33.7 kB / 415.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2587, allocations: 0 / 415.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.2589, allocations: 53.62 kB / 415.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.2592, allocations: 67.91 kB / 415.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.2619, allocations: 2.972 MB / 418.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.2623, allocations: 47.77 kB / 418.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.2623, allocations: 12 kB / 418.3 MB, free: 5.871 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.000221/0.2625, allocations: 165.8 kB / 418.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.2626, allocations: 47.72 kB / 418.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.2627, allocations: 56.62 kB / 418.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2627, allocations: 4 kB / 418.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2627, allocations: 0 / 418.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00075/0.2635, allocations: 0.6493 MB / 419.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.2648, allocations: 0.8971 MB / 420.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2649, allocations: 0 / 420.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.2652, allocations: 71.89 kB / 420.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2652, allocations: 0 / 420.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2653, allocations: 4.094 kB / 420.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2653, allocations: 11.94 kB / 420.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2653, allocations: 0 / 420.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.2661, allocations: 0.5283 MB / 420.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.2665, allocations: 164.7 kB / 420.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.2666, allocations: 11.94 kB / 420.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.2669, allocations: 20.16 kB / 420.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.2669, allocations: 20.05 kB / 420.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.267, allocations: 11.98 kB / 420.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.2673, allocations: 319.1 kB / 421.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2674, allocations: 0 / 421.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.2678, allocations: 135.9 kB / 421.4 MB, free: 2.566 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.001207/0.269, allocations: 1.069 MB / 422.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009221/0.2699, allocations: 0.5672 MB / 423 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2699, allocations: 0 / 423 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.2702, allocations: 139.9 kB / 423.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.2708, allocations: 129.8 kB / 423.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.2767, allocations: 4.249 MB / 427.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.2771, allocations: 0.8159 MB / 428.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.2774, allocations: 64.34 kB / 428.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2776, allocations: 159.4 kB / 428.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2776, allocations: 0 / 428.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06188/0.3395, allocations: 12.74 MB / 441.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.46, allocations: 7.984 kB / 441.3 MB, free: 14.71 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > 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