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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001193/0.001193, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0757/0.07685, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1814/0.2583, allocations: 5.597 MB / 380.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.2606, allocations: 1.458 MB / 381.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.2609, allocations: 14.66 kB / 381.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.2614, allocations: 195.3 kB / 381.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.2621, allocations: 386.9 kB / 382.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.2626, allocations: 259.4 kB / 382.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.2639, allocations: 1.365 MB / 383.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.2644, allocations: 414.5 kB / 384.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.265, allocations: 0.5109 MB / 384.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.2656, allocations: 0.5889 MB / 385.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.2658, allocations: 121.6 kB / 385.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.266, allocations: 120.9 kB / 385.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2661, allocations: 254.7 kB / 385.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.2666, allocations: 0.6134 MB / 386.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.268, allocations: 1.405 MB / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.268, allocations: 0.5625 kB / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.268, allocations: 0 / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.268, allocations: 1.125 kB / 387.9 MB, free: 6.785 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.002403/0.2704, allocations: 1.479 MB / 389.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2705, allocations: 8.781 kB / 389.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.2706, allocations: 130.8 kB / 389.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2708, allocations: 127.4 kB / 389.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/0.2716, allocations: 0.6385 MB / 390.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.2718, allocations: 155 kB / 390.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.2719, allocations: 74.5 kB / 390.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.2733, allocations: 0.9896 MB / 391.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2733, allocations: 2.141 kB / 391.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.2734, allocations: 34 kB / 391.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.2734, allocations: 16.34 kB / 391.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2746, allocations: 0.6278 MB / 392.2 MB, free: 4.176 MB / 318.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.004016/0.2786, allocations: 2.653 MB / 394.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2813, allocations: 0.8687 MB / 395.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/0.2821, allocations: 346.8 kB / 396 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.2821, allocations: 17.95 kB / 396.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2822, allocations: 56.23 kB / 396.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/0.2822, allocations: 0 / 396.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002534/0.2847, allocations: 1.399 MB / 397.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.2849, allocations: 0.9521 MB / 398.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.2861, allocations: 0.7895 MB / 399.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2863, allocations: 45.45 kB / 399.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.2867, allocations: 409.7 kB / 399.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.2869, allocations: 253.9 kB / 399.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.2872, allocations: 155.5 kB / 400.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2874, allocations: 339.2 kB / 400.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.288, allocations: 256.8 kB / 400.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/0.2889, allocations: 0.5825 MB / 401.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2903, allocations: 0.6626 MB / 401.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2903, allocations: 5 kB / 401.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001928/0.2922, allocations: 0.9525 MB / 402.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.2923, allocations: 93.14 kB / 403 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2923, allocations: 2.281 kB / 403 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.2927, allocations: 120.7 kB / 403.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.2934, allocations: 158.1 kB / 403.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/0.2997, allocations: 7.325 MB / 410.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.301, allocations: 112.4 kB / 410.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.3011, allocations: 27.11 kB / 410.7 MB, free: 5.645 MB / 334.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.0004926/0.3016, allocations: 241.1 kB / 410.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.3018, allocations: 100.1 kB / 411 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.302, allocations: 104.4 kB / 411.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.302, allocations: 7.375 kB / 411.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.302, allocations: 0 / 411.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.3034, allocations: 0.9699 MB / 412.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.3063, allocations: 1.756 MB / 413.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3063, allocations: 1.281 kB / 413.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.307, allocations: 164.5 kB / 414 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-05/0.3071, allocations: 24.91 kB / 414.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.3072, allocations: 11.12 kB / 414.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008874/0.3081, allocations: 1.406 MB / 415.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3081, allocations: 1.188 kB / 415.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.3102, allocations: 1.074 MB / 416.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.3106, allocations: 264.7 kB / 416.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3108, allocations: 19.83 kB / 416.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.3114, allocations: 38.47 kB / 416.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.3115, allocations: 50.16 kB / 416.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.3115, allocations: 16.06 kB / 416.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006964/0.3122, allocations: 0.5463 MB / 417.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 1.125 kB / 417.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000774/0.313, allocations: 293.7 kB / 417.8 MB, free: 0.4922 MB / 334.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.002171/0.3152, allocations: 1.644 MB / 419.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.3173, allocations: 1.393 MB / 420.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3173, allocations: 2.875 kB / 420.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.318, allocations: 425 kB / 421.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3191, allocations: 281.8 kB / 421.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.33, allocations: 7.818 MB / 429.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.3305, allocations: 0.9875 MB / 430.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005571/0.3311, allocations: 131.5 kB / 430.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.3315, allocations: 355.3 kB / 430.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3315, allocations: 4 kB / 430.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/0.3916, allocations: 26.8 MB / 457.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/13.93, allocations: 8 kB / 457.6 MB, free: 9.875 MB / 382.1 MB (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 --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) 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) Reference file matches