Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001/0.001, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.0009572/0.0009573, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.228/1.228, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 48.58 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08699, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.0056/0.09262, allocations: 5.603 MB / 355.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.09483, allocations: 1.421 MB / 357.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.09531, allocations: 11.94 kB / 357.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.09572, allocations: 198.3 kB / 357.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.09637, allocations: 384.7 kB / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.09679, allocations: 267.5 kB / 358 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.09779, allocations: 1.355 MB / 359.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.09823, allocations: 411.1 kB / 359.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.09862, allocations: 0.5099 MB / 360.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.09917, allocations: 0.5796 MB / 360.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.09934, allocations: 120 kB / 361 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.09953, allocations: 120 kB / 361.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.09974, allocations: 263 kB / 361.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.1002, allocations: 0.6027 MB / 362 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.1012, allocations: 1.386 MB / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1012, allocations: 0 / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1012, allocations: 0 / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1013, allocations: 4 kB / 363.4 MB, free: 7.051 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.002042/0.1033, allocations: 1.481 MB / 364.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1033, allocations: 12.03 kB / 364.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.1035, allocations: 128.6 kB / 365 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1037, allocations: 131.5 kB / 365.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.1044, allocations: 0.6343 MB / 365.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.1046, allocations: 143.7 kB / 365.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.1047, allocations: 76.38 kB / 366 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1059, allocations: 0.986 MB / 366.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1059, allocations: 0 / 366.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.106, allocations: 36 kB / 367 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.106, allocations: 16 kB / 367 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1071, allocations: 0.6246 MB / 367.6 MB, free: 2.535 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.1342/0.2413, allocations: 2.677 MB / 370.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.2438, allocations: 0.8549 MB / 371.1 MB, free: 24.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.2444, allocations: 355.7 kB / 371.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.2445, allocations: 20.05 kB / 371.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2445, allocations: 46.23 kB / 371.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/0.2445, allocations: 0 / 371.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002315/0.2469, allocations: 1.406 MB / 373 MB, free: 24.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.247, allocations: 0.9529 MB / 373.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.2478, allocations: 0.7887 MB / 374.7 MB, free: 22.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.2479, allocations: 49.86 kB / 374.8 MB, free: 22.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.2481, allocations: 416.9 kB / 375.2 MB, free: 22.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2483, allocations: 252 kB / 375.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2485, allocations: 160.5 kB / 375.6 MB, free: 22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.2486, allocations: 332.1 kB / 375.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.2491, allocations: 255.1 kB / 376.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.2498, allocations: 0.586 MB / 376.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.2508, allocations: 0.6682 MB / 377.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2508, allocations: 0 / 377.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001433/0.2522, allocations: 0.9511 MB / 378.3 MB, free: 20.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.2523, allocations: 85.48 kB / 378.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2523, allocations: 1.062 kB / 378.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.2526, allocations: 131.3 kB / 378.6 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.2532, allocations: 152.1 kB / 378.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.2568, allocations: 7.331 MB / 386 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/0.2577, allocations: 105.4 kB / 386.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.2578, allocations: 25.22 kB / 386.2 MB, free: 12.78 MB / 302.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.0003114/0.2581, allocations: 238.5 kB / 386.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2582, allocations: 101.4 kB / 386.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.2584, allocations: 103.7 kB / 386.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2584, allocations: 11.06 kB / 386.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.2584, allocations: 1.031 kB / 386.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.2596, allocations: 0.9654 MB / 387.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.262, allocations: 1.755 MB / 389.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.262, allocations: 0 / 389.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.2627, allocations: 159.2 kB / 389.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/0.2628, allocations: 31.83 kB / 389.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.2628, allocations: 21.5 kB / 389.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006087/0.2634, allocations: 1.399 MB / 390.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2635, allocations: 3.938 kB / 390.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2652, allocations: 1.077 MB / 392 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.2656, allocations: 260.8 kB / 392.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2657, allocations: 25.38 kB / 392.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.2663, allocations: 44.47 kB / 392.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.2664, allocations: 43.5 kB / 392.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.2665, allocations: 19.19 kB / 392.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006316/0.2671, allocations: 0.5485 MB / 393 MB, free: 8.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2671, allocations: 0 / 393 MB, free: 8.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007271/0.2678, allocations: 293.7 kB / 393.2 MB, free: 8.324 MB / 302.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.001922/0.2698, allocations: 1.653 MB / 394.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.2718, allocations: 1.43 MB / 396.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2718, allocations: 2.875 kB / 396.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.2724, allocations: 420.1 kB / 396.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2734, allocations: 274.5 kB / 397 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.2824, allocations: 8.507 MB / 405.5 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2829, allocations: 0.9797 MB / 406.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005357/0.2835, allocations: 127.5 kB / 406.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.2839, allocations: 355.3 kB / 407 MB, free: 14.9 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2839, allocations: 0 / 407 MB, free: 14.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.078/4.362, allocations: 25.89 MB / 432.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/17.4, allocations: 8.594 kB / 432.9 MB, free: 5.488 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches