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.001052/0.001052, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 60.59 kB / 306.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07756, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004154/0.08175, allocations: 3.535 MB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.08331, allocations: 0.9814 MB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.0836, allocations: 7.938 kB / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.08395, allocations: 83.44 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.08438, allocations: 162.7 kB / 361.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.08464, allocations: 107.8 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.08528, allocations: 0.6302 MB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.08555, allocations: 191.1 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.08582, allocations: 235.1 kB / 363 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.08615, allocations: 278.8 kB / 363.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.08623, allocations: 52 kB / 363.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.08632, allocations: 56 kB / 363.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.08641, allocations: 123.5 kB / 363.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.08663, allocations: 294.7 kB / 363.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.0871, allocations: 0.6268 MB / 364.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08711, allocations: 4 kB / 364.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08712, allocations: 3.938 kB / 364.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.08713, allocations: 0 / 364.4 MB, free: 6.727 MB / 302.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.00119/0.08833, allocations: 0.8506 MB / 365.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.08837, allocations: 8.031 kB / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.08848, allocations: 71.72 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.08858, allocations: 72.11 kB / 365.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.08903, allocations: 387.1 kB / 365.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.08913, allocations: 63.25 kB / 365.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.08919, allocations: 36.28 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.08984, allocations: 474.1 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.08986, allocations: 0 / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.08991, allocations: 15.94 kB / 366.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.08992, allocations: 8 kB / 366.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.09045, allocations: 287.8 kB / 366.7 MB, free: 4.312 MB / 302.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.001815/0.09227, allocations: 1.308 MB / 368 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.09331, allocations: 436.5 kB / 368.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.09356, allocations: 140.7 kB / 368.5 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.09361, allocations: 11.97 kB / 368.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.09364, allocations: 42.5 kB / 368.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.492e-06/0.09364, allocations: 0 / 368.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001011/0.09466, allocations: 0.5998 MB / 369.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.09482, allocations: 445 kB / 369.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.09525, allocations: 450 kB / 370.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.09529, allocations: 33.7 kB / 370.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.09544, allocations: 236.3 kB / 370.3 MB, free: 352 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.09552, allocations: 114.4 kB / 370.4 MB, free: 236 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.09564, allocations: 78.03 kB / 370.5 MB, free: 152 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1253/0.2209, allocations: 354.7 kB / 370.9 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.2212, allocations: 105.5 kB / 371 MB, free: 19.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.2216, allocations: 250.9 kB / 371.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.222, allocations: 285.6 kB / 371.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.222, allocations: 0 / 371.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006837/0.2227, allocations: 419.3 kB / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2227, allocations: 35.83 kB / 371.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2227, allocations: 0.8438 kB / 371.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.2229, allocations: 53.09 kB / 372 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2232, allocations: 63.95 kB / 372 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.2248, allocations: 2.977 MB / 375 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.2252, allocations: 44.39 kB / 375.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2252, allocations: 12.36 kB / 375.1 MB, free: 16.91 MB / 302.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.0001672/0.2254, allocations: 166.6 kB / 375.2 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.2254, allocations: 49.61 kB / 375.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.2255, allocations: 52.84 kB / 375.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2255, allocations: 7.531 kB / 375.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2256, allocations: 1.703 kB / 375.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004914/0.2261, allocations: 0.6557 MB / 376 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2271, allocations: 0.9026 MB / 376.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2271, allocations: 0.625 kB / 376.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2275, allocations: 68.86 kB / 377 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2275, allocations: 3.469 kB / 377 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2275, allocations: 6.812 kB / 377 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2275, allocations: 5.625 kB / 377 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2275, allocations: 1.188 kB / 377 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.2283, allocations: 0.5189 MB / 377.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2284, allocations: 161.9 kB / 377.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.2285, allocations: 12.78 kB / 377.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.2288, allocations: 19.23 kB / 377.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2288, allocations: 21.75 kB / 377.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2288, allocations: 6.25 kB / 377.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.2292, allocations: 322.7 kB / 378 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2292, allocations: 1.719 kB / 378 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.2296, allocations: 133.5 kB / 378.2 MB, free: 14.98 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.0008181/0.2304, allocations: 1.068 MB / 379.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007528/0.2311, allocations: 0.5771 MB / 379.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2312, allocations: 5.688 kB / 379.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2314, allocations: 129.4 kB / 380 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.232, allocations: 128.8 kB / 380.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.2367, allocations: 4.526 MB / 384.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.237, allocations: 0.8177 MB / 385.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.2372, allocations: 64.92 kB / 385.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.2374, allocations: 160.7 kB / 385.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2374, allocations: 0 / 385.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.717/3.955, allocations: 12.44 MB / 398.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/3.955, allocations: 232.7 kB / 398.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/6.478, allocations: 3.375 kB / 398.3 MB, free: 5.336 MB / 302.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