Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 60.3 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 49.15 MB / 396.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005304/0.2504, allocations: 4.958 MB / 401.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.2527, allocations: 1.419 MB / 402.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.2531, allocations: 21.44 kB / 402.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.2536, allocations: 194.3 kB / 402.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007665/0.2544, allocations: 394.7 kB / 403.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.255, allocations: 263.1 kB / 403.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.2563, allocations: 1.364 MB / 404.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.2567, allocations: 260.1 kB / 405.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/0.2572, allocations: 0.5274 MB / 405.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.2578, allocations: 0.5027 MB / 406.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.258, allocations: 122.9 kB / 406.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2582, allocations: 119.9 kB / 406.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.2584, allocations: 259.8 kB / 406.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.2588, allocations: 0.5158 MB / 407.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.26, allocations: 1.409 MB / 408.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2601, allocations: 0 / 408.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2601, allocations: 7.938 kB / 408.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.2601, allocations: 1.031 kB / 408.7 MB, free: 1.852 MB / 318.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.002261/0.2623, allocations: 1.441 MB / 410.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2624, allocations: 13.23 kB / 410.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.2625, allocations: 124.6 kB / 410.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.2627, allocations: 145 kB / 410.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.2636, allocations: 0.5774 MB / 410.9 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.2639, allocations: 308.4 kB / 411.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.264, allocations: 72.53 kB / 411.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.2661, allocations: 1.867 MB / 413.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2661, allocations: 0 / 413.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/0.2662, allocations: 34.34 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.2663, allocations: 16.16 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2676, allocations: 0.6215 MB / 413.9 MB, free: 13.64 MB / 334.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.004516/0.2721, allocations: 1.994 MB / 415.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.2746, allocations: 0.7523 MB / 416.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.2753, allocations: 323.4 kB / 416.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.2754, allocations: 13.67 kB / 416.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.2754, allocations: 52.98 kB / 417 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.2755, allocations: 0 / 417 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002647/0.2781, allocations: 1.024 MB / 418 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005322/0.2786, allocations: 0.95 MB / 419 MB, free: 9.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2797, allocations: 0.7928 MB / 419.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/0.2798, allocations: 42.05 kB / 419.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.2802, allocations: 418.1 kB / 420.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.2805, allocations: 272.2 kB / 420.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.2807, allocations: 163.8 kB / 420.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2809, allocations: 336.8 kB / 421 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.2815, allocations: 341.6 kB / 421.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.2832, allocations: 1.549 MB / 422.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2845, allocations: 0.6651 MB / 423.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2845, allocations: 0 / 423.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002059/0.2866, allocations: 1.027 MB / 424.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.2867, allocations: 87.77 kB / 424.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2867, allocations: 5.5 kB / 424.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.287, allocations: 129.5 kB / 424.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.2877, allocations: 153.6 kB / 424.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.2941, allocations: 6.772 MB / 431.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.2953, allocations: 107.2 kB / 431.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.2953, allocations: 31.94 kB / 431.8 MB, free: 13.87 MB / 350.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.0004798/0.2958, allocations: 237.6 kB / 432 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.296, allocations: 111.5 kB / 432.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.2962, allocations: 100.9 kB / 432.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2962, allocations: 8.234 kB / 432.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.2962, allocations: 0 / 432.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/0.2978, allocations: 0.9661 MB / 433.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.3007, allocations: 1.553 MB / 434.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3007, allocations: 4 kB / 434.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.3014, allocations: 159.8 kB / 434.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.3015, allocations: 24.84 kB / 435 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.3016, allocations: 16 kB / 435 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3027, allocations: 1.295 MB / 436.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3027, allocations: 4.031 kB / 436.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.3048, allocations: 1.078 MB / 437.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.3052, allocations: 187.1 kB / 437.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3054, allocations: 16 kB / 437.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.306, allocations: 43.91 kB / 437.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.3061, allocations: 48.56 kB / 437.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.3061, allocations: 16.23 kB / 437.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007897/0.3069, allocations: 0.5537 MB / 438.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 4 kB / 438.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000812/0.3077, allocations: 295.7 kB / 438.5 MB, free: 6.844 MB / 350.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.002417/0.3102, allocations: 1.653 MB / 440.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.3124, allocations: 1.438 MB / 441.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3124, allocations: 4 kB / 441.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.3131, allocations: 402.2 kB / 442 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3143, allocations: 283.1 kB / 442.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.3272, allocations: 8.159 MB / 450.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3276, allocations: 394.2 kB / 450.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006108/0.3282, allocations: 127.5 kB / 450.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.3288, allocations: 355.3 kB / 451.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3288, allocations: 4 kB / 451.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/0.41, allocations: 29.4 MB / 480.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.86, allocations: 3.906 kB / 480.7 MB, free: 12.05 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13890014309436]