Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_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.001155/0.001155, allocations: 114.4 kB / 17.28 MB, free: 6.219 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.00114/0.00114, allocations: 193.3 kB / 18.19 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001161, allocations: 51.91 kB / 280.2 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.08073, allocations: 46.63 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004592/0.08536, allocations: 3.515 MB / 330.4 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.08709, allocations: 0.9864 MB / 331.4 MB, free: 176 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.08745, allocations: 11.94 kB / 331.4 MB, free: 164 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.08789, allocations: 83.42 kB / 331.5 MB, free: 80 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.0884, allocations: 158.8 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.0887, allocations: 115.8 kB / 331.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006972/0.08941, allocations: 0.6263 MB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.08971, allocations: 190.9 kB / 332.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.08999, allocations: 247.1 kB / 332.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.09031, allocations: 270.8 kB / 333.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.0904, allocations: 52 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.0905, allocations: 59.94 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.0906, allocations: 119.5 kB / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.09085, allocations: 290.7 kB / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.09136, allocations: 0.6268 MB / 334.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09138, allocations: 0 / 334.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09139, allocations: 4 kB / 334.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.09141, allocations: 0 / 334.2 MB, free: 13.34 MB / 286.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.001365/0.09278, allocations: 0.8506 MB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.09284, allocations: 12.03 kB / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.09297, allocations: 71.72 kB / 335.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.09311, allocations: 64.28 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.09362, allocations: 394.9 kB / 335.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.09375, allocations: 63.25 kB / 335.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.09382, allocations: 36.36 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.09452, allocations: 466.1 kB / 336.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.09454, allocations: 4 kB / 336.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.09459, allocations: 16 kB / 336.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.0946, allocations: 8 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.09515, allocations: 291.8 kB / 336.4 MB, free: 10.93 MB / 286.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.001967/0.09712, allocations: 1.323 MB / 337.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.09824, allocations: 424.5 kB / 338.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.09851, allocations: 148.8 kB / 338.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.09855, allocations: 4 kB / 338.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.09859, allocations: 38.56 kB / 338.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.0986, allocations: 0 / 338.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001081/0.09969, allocations: 0.6101 MB / 339 MB, free: 8.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.09985, allocations: 448.9 kB / 339.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.1003, allocations: 449.9 kB / 339.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.1004, allocations: 33.7 kB / 339.9 MB, free: 7.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1005, allocations: 236.4 kB / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.1006, allocations: 110.4 kB / 340.2 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1008, allocations: 74.02 kB / 340.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1009, allocations: 362.8 kB / 340.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1011, allocations: 104.6 kB / 340.8 MB, free: 6.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1015, allocations: 256 kB / 341 MB, free: 5.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.102, allocations: 272.3 kB / 341.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.102, allocations: 0 / 341.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006832/0.1027, allocations: 421 kB / 341.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.1027, allocations: 29.7 kB / 341.7 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1027, allocations: 8.078 kB / 341.7 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.1029, allocations: 57.52 kB / 341.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.1032, allocations: 63.95 kB / 341.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.1055, allocations: 2.972 MB / 344.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.1059, allocations: 51.61 kB / 344.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1059, allocations: 8 kB / 344.9 MB, free: 1.801 MB / 286.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.0002161/0.1062, allocations: 165.8 kB / 345 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.1062, allocations: 55.44 kB / 345.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.1063, allocations: 56.62 kB / 345.1 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1064, allocations: 4 kB / 345.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1064, allocations: 0 / 345.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006175/0.107, allocations: 0.6453 MB / 345.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.1082, allocations: 0.9043 MB / 346.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1082, allocations: 0 / 346.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.1086, allocations: 76.06 kB / 346.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1086, allocations: 4 kB / 346.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1086, allocations: 4 kB / 346.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1086, allocations: 4 kB / 346.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1086, allocations: 0 / 346.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.1094, allocations: 0.5307 MB / 347.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1096, allocations: 156.5 kB / 347.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.1096, allocations: 11.98 kB / 347.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.11, allocations: 16 kB / 347.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.11, allocations: 15.97 kB / 347.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1101, allocations: 12 kB / 347.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.1104, allocations: 319.1 kB / 347.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1104, allocations: 4.062 kB / 347.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.1108, allocations: 135.8 kB / 348 MB, free: 14.5 MB / 302.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.001048/0.1119, allocations: 1.068 MB / 349 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.1128, allocations: 0.5754 MB / 349.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1128, allocations: 0 / 349.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.113, allocations: 127.8 kB / 349.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.1138, allocations: 137 kB / 349.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.1196, allocations: 4.528 MB / 354.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1199, allocations: 0.8237 MB / 355.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.1202, allocations: 60.36 kB / 355.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.1204, allocations: 167.3 kB / 355.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1204, allocations: 4 kB / 355.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/0.3733, allocations: 12.42 MB / 367.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.3736, allocations: 241.5 kB / 368.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/2.785, allocations: 0 / 368.1 MB, free: 10.1 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches