Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001287, allocations: 118.7 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 71.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006805/0.2387, allocations: 5.628 MB / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.2413, allocations: 1.445 MB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.2416, allocations: 15.94 kB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.242, allocations: 194.3 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.2427, allocations: 384.7 kB / 416.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.2432, allocations: 259.6 kB / 416.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2446, allocations: 1.359 MB / 418.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.2451, allocations: 415.1 kB / 418.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.2456, allocations: 0.506 MB / 419 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.2463, allocations: 0.5874 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.2465, allocations: 116 kB / 419.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.2467, allocations: 124 kB / 419.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.247, allocations: 259.1 kB / 420.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.2475, allocations: 0.6027 MB / 420.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.2489, allocations: 1.415 MB / 422.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2489, allocations: 0 / 422.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.249, allocations: 4 kB / 422.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.249, allocations: 0 / 422.1 MB, free: 4.125 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002468/0.2514, allocations: 1.508 MB / 423.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2515, allocations: 12.03 kB / 423.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.2517, allocations: 128.6 kB / 423.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2519, allocations: 136.1 kB / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.2529, allocations: 0.6467 MB / 424.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.2531, allocations: 159.6 kB / 424.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/0.2532, allocations: 68.38 kB / 424.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.2547, allocations: 0.9822 MB / 425.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2548, allocations: 3.938 kB / 425.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.2548, allocations: 36 kB / 425.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2549, allocations: 16 kB / 425.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2562, allocations: 0.6325 MB / 426.4 MB, free: 15.55 MB / 350.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.004024/0.2602, allocations: 2.652 MB / 429.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.2628, allocations: 0.8688 MB / 429.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.2635, allocations: 350.7 kB / 430.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.2636, allocations: 20.62 kB / 430.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2636, allocations: 51.22 kB / 430.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.2636, allocations: 0 / 430.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002624/0.2663, allocations: 1.401 MB / 431.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005094/0.2668, allocations: 0.9566 MB / 432.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009789/0.2678, allocations: 0.7864 MB / 433.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.2678, allocations: 45.7 kB / 433.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.2682, allocations: 424.8 kB / 434 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.2684, allocations: 261.7 kB / 434.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.2687, allocations: 158.6 kB / 434.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2689, allocations: 337.9 kB / 434.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.2695, allocations: 254.1 kB / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.2704, allocations: 0.5889 MB / 435.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.2716, allocations: 0.6678 MB / 436.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2716, allocations: 0 / 436.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001736/0.2734, allocations: 0.9475 MB / 437.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.2734, allocations: 93.03 kB / 437.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2734, allocations: 0 / 437.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.2738, allocations: 128.2 kB / 437.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.2745, allocations: 155.8 kB / 437.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.2806, allocations: 7.333 MB / 444.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.2815, allocations: 111.4 kB / 445 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.2815, allocations: 23.98 kB / 445 MB, free: 11.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003666/0.2819, allocations: 233.7 kB / 445.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.2821, allocations: 107.3 kB / 445.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.2823, allocations: 104.9 kB / 445.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2823, allocations: 12.23 kB / 445.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2823, allocations: 0 / 445.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.2837, allocations: 0.9738 MB / 446.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.2866, allocations: 1.748 MB / 448.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2866, allocations: 0 / 448.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.2873, allocations: 151.8 kB / 448.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.2874, allocations: 28.84 kB / 448.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.2875, allocations: 19.98 kB / 448.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.2885, allocations: 1.406 MB / 449.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2885, allocations: 0 / 449.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.2905, allocations: 1.082 MB / 450.8 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.2909, allocations: 268.2 kB / 451.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.291, allocations: 20 kB / 451.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.2917, allocations: 35.95 kB / 451.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.2918, allocations: 48.83 kB / 451.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.2918, allocations: 16 kB / 451.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006942/0.2925, allocations: 0.5537 MB / 451.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.436e-06/0.2925, allocations: 0 / 451.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007271/0.2933, allocations: 299.7 kB / 452.1 MB, free: 4.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002384/0.2957, allocations: 1.66 MB / 453.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.2979, allocations: 1.394 MB / 455.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.2979, allocations: 4 kB / 455.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.2986, allocations: 422.5 kB / 455.5 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.2998, allocations: 278.9 kB / 455.8 MB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.3115, allocations: 7.843 MB / 463.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3121, allocations: 0.9913 MB / 464.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.3127, allocations: 127.5 kB / 464.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.3132, allocations: 359.3 kB / 465.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3132, allocations: 0 / 465.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/0.3798, allocations: 26.26 MB / 491.4 MB, free: 12.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.77, allocations: 4.062 kB / 491.4 MB, free: 12.78 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches