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.0006985/0.0006984, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009002/0.0009003, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.7 MB / 246.8 MB, free: 9.473 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001969/0.0001969, allocations: 8 kB / 307.8 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.07919, allocations: 51.52 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004707/0.08393, allocations: 5.209 MB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.08624, allocations: 1.398 MB / 366 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.0867, allocations: 11.94 kB / 366 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.08712, allocations: 155 kB / 366.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.08789, allocations: 337.3 kB / 366.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.08835, allocations: 227.7 kB / 366.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.08959, allocations: 1.292 MB / 368 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.09008, allocations: 368.3 kB / 368.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.09063, allocations: 478.1 kB / 368.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.09129, allocations: 0.529 MB / 369.3 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.09145, allocations: 79.94 kB / 369.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.09164, allocations: 80 kB / 369.5 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.09182, allocations: 211.1 kB / 369.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.09237, allocations: 0.5888 MB / 370.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.09345, allocations: 1.319 MB / 371.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09346, allocations: 0 / 371.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09347, allocations: 4 kB / 371.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.09351, allocations: 0 / 371.6 MB, free: 0.6406 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.1517/0.2453, allocations: 1.287 MB / 372.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2453, allocations: 11.53 kB / 372.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.2456, allocations: 131.3 kB / 373 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.2458, allocations: 130.4 kB / 373.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.2467, allocations: 0.6307 MB / 373.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.2469, allocations: 159.6 kB / 373.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.247, allocations: 70 kB / 374 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.2485, allocations: 0.9951 MB / 375 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2485, allocations: 0 / 375 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.2486, allocations: 35.97 kB / 375 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2486, allocations: 18.02 kB / 375.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2499, allocations: 0.6537 MB / 375.7 MB, free: 11.79 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.003612/0.2536, allocations: 2.68 MB / 378.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.2559, allocations: 0.8823 MB / 379.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/0.2566, allocations: 367.4 kB / 379.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.2566, allocations: 20.12 kB / 379.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2567, allocations: 53.84 kB / 379.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 1.984e-06/0.2567, allocations: 0 / 379.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002344/0.259, allocations: 1.445 MB / 381.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.2592, allocations: 0.9501 MB / 382.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.2601, allocations: 0.7849 MB / 382.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.2602, allocations: 46.98 kB / 382.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.2604, allocations: 410.2 kB / 383.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.2605, allocations: 257.7 kB / 383.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.2606, allocations: 61.84 kB / 383.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.2607, allocations: 341.7 kB / 384 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.2612, allocations: 266.1 kB / 384.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.262, allocations: 0.606 MB / 384.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2631, allocations: 0.6878 MB / 385.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2631, allocations: 1.25 kB / 385.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001537/0.2646, allocations: 0.9681 MB / 386.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.2647, allocations: 88.62 kB / 386.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2647, allocations: 13.19 kB / 386.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.265, allocations: 120 kB / 386.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.2657, allocations: 159.9 kB / 386.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.2698, allocations: 6.788 MB / 393.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.2707, allocations: 121.5 kB / 393.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.2707, allocations: 24.33 kB / 393.8 MB, free: 14.91 MB / 318.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.0003758/0.2711, allocations: 249.3 kB / 394 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2713, allocations: 100.8 kB / 394.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.2715, allocations: 100.2 kB / 394.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2715, allocations: 7.031 kB / 394.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2715, allocations: 2.844 kB / 394.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.2729, allocations: 0.9976 MB / 395.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.2757, allocations: 1.779 MB / 397 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2757, allocations: 0 / 397 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/0.2764, allocations: 163.8 kB / 397.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.2765, allocations: 29.11 kB / 397.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.2766, allocations: 14.69 kB / 397.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.2775, allocations: 1.307 MB / 398.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2776, allocations: 13.97 kB / 398.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.2796, allocations: 1.106 MB / 399.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.28, allocations: 262.6 kB / 399.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.2801, allocations: 22.75 kB / 399.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.2808, allocations: 51.28 kB / 400 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.2809, allocations: 43.95 kB / 400 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.281, allocations: 19.66 kB / 400 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007044/0.2817, allocations: 0.5533 MB / 400.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2817, allocations: 0 / 400.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007803/0.2825, allocations: 292.8 kB / 400.9 MB, free: 10.58 MB / 318.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.002275/0.2847, allocations: 1.689 MB / 402.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.2868, allocations: 1.406 MB / 404 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.2868, allocations: 2.094 kB / 404 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.2875, allocations: 440.2 kB / 404.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2887, allocations: 250.4 kB / 404.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.3013, allocations: 8.972 MB / 413.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.302, allocations: 0.9913 MB / 414.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.3026, allocations: 123.5 kB / 414.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.3031, allocations: 360.1 kB / 415.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3031, allocations: 2.078 kB / 415.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3456, allocations: 24.54 MB / 439.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.3459, allocations: 242.3 kB / 439.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.724, allocations: 0 / 439.9 MB, free: 6.469 MB / 350.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.0.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