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.001229/0.001229, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001222/0.001222, allocations: 192.2 kB / 18.67 MB, free: 4.387 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.381/1.381, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001603/0.001603, allocations: 52.39 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08587, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1762/0.2621, allocations: 5.604 MB / 380.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.265, allocations: 1.464 MB / 381.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.2656, allocations: 11 kB / 381.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.2662, allocations: 194.1 kB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007097/0.267, allocations: 382.8 kB / 382.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.2675, allocations: 266.5 kB / 382.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.2691, allocations: 1.36 MB / 383.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.2697, allocations: 411.7 kB / 384.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.2704, allocations: 0.5094 MB / 384.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.271, allocations: 0.5845 MB / 385.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.2712, allocations: 117.3 kB / 385.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.2714, allocations: 120.5 kB / 385.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2716, allocations: 255.5 kB / 385.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.2721, allocations: 0.6168 MB / 386.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.2737, allocations: 1.404 MB / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2737, allocations: 1.062 kB / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2737, allocations: 0 / 387.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.2738, allocations: 0 / 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.002462/0.2762, allocations: 1.52 MB / 389.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2763, allocations: 10.34 kB / 389.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.2765, allocations: 134.5 kB / 389.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.2767, allocations: 133.7 kB / 389.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.2776, allocations: 0.6453 MB / 390.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2778, allocations: 155.9 kB / 390.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.2779, allocations: 72.38 kB / 390.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2792, allocations: 0.9878 MB / 391.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2793, allocations: 0 / 391.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.2794, allocations: 37.75 kB / 391.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.2794, allocations: 16.31 kB / 391.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2807, allocations: 0.6275 MB / 392.2 MB, free: 4.121 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.003669/0.2843, allocations: 2.648 MB / 394.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.2868, allocations: 0.8719 MB / 395.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.2875, allocations: 350.4 kB / 396.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2875, allocations: 19.12 kB / 396.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2876, allocations: 51.45 kB / 396.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.2876, allocations: 0 / 396.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002609/0.2902, allocations: 1.405 MB / 397.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002491/0.2905, allocations: 0.9564 MB / 398.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2916, allocations: 0.782 MB / 399.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/0.2917, allocations: 46.73 kB / 399.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.292, allocations: 424.5 kB / 399.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.2923, allocations: 266.9 kB / 400 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.2926, allocations: 155.7 kB / 400.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2928, allocations: 338.6 kB / 400.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.2933, allocations: 253.5 kB / 400.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.2942, allocations: 0.5857 MB / 401.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2954, allocations: 0.6599 MB / 402 MB, free: 13.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2954, allocations: 1.375 kB / 402 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001841/0.2973, allocations: 0.9518 MB / 403 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/0.2974, allocations: 97.78 kB / 403.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2974, allocations: 1.125 kB / 403.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.2978, allocations: 128.8 kB / 403.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.2985, allocations: 150.4 kB / 403.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.3051, allocations: 7.326 MB / 410.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3064, allocations: 112.8 kB / 410.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.3065, allocations: 34.31 kB / 410.8 MB, free: 5.57 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.0005064/0.307, allocations: 241 kB / 411 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.3072, allocations: 108.5 kB / 411.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.3074, allocations: 100.2 kB / 411.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3075, allocations: 7.312 kB / 411.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3075, allocations: 1.594 kB / 411.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/0.309, allocations: 0.9766 MB / 412.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.3119, allocations: 1.746 MB / 414 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.312, allocations: 5.016 kB / 414 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.3127, allocations: 156.4 kB / 414.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.3129, allocations: 24.69 kB / 414.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.3129, allocations: 19.69 kB / 414.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.3142, allocations: 1.406 MB / 415.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3142, allocations: 1.5 kB / 415.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.3163, allocations: 1.082 MB / 416.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.3168, allocations: 261.8 kB / 416.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3169, allocations: 18.72 kB / 416.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3176, allocations: 39.81 kB / 417 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3177, allocations: 41.56 kB / 417 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3177, allocations: 21.02 kB / 417 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007834/0.3185, allocations: 0.5497 MB / 417.6 MB, free: 460 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3185, allocations: 4 kB / 417.6 MB, free: 456 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009654/0.3195, allocations: 298.2 kB / 417.9 MB, free: 408 kB / 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.002355/0.3219, allocations: 1.65 MB / 419.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.3243, allocations: 1.395 MB / 420.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.3243, allocations: 2.75 kB / 420.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.325, allocations: 417.4 kB / 421.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.3264, allocations: 292.2 kB / 421.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.3387, allocations: 7.851 MB / 429.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.3394, allocations: 0.9875 MB / 430.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006111/0.34, allocations: 127.5 kB / 430.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.3405, allocations: 355.3 kB / 430.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3405, allocations: 0 / 430.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.4104, allocations: 26.27 MB / 457.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.07, allocations: 7.938 kB / 457.2 MB, free: 10.28 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