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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 123.8 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08828, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006671/0.09495, allocations: 5.628 MB / 423.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.0973, allocations: 1.433 MB / 424.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.09758, allocations: 11.94 kB / 424.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.09801, allocations: 198.3 kB / 425 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006823/0.09869, allocations: 396.7 kB / 425.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.09917, allocations: 267.6 kB / 425.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1006, allocations: 1.362 MB / 427.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.101, allocations: 271.3 kB / 427.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.1015, allocations: 0.5099 MB / 427.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.1022, allocations: 0.5796 MB / 428.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1024, allocations: 120 kB / 428.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1025, allocations: 120 kB / 428.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1028, allocations: 263.1 kB / 428.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.1033, allocations: 0.6144 MB / 429.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.1047, allocations: 1.408 MB / 430.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1047, allocations: 0 / 430.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1047, allocations: 0 / 430.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.1047, allocations: 0 / 430.9 MB, free: 15.4 MB / 366.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.002649/0.1074, allocations: 1.515 MB / 432.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1074, allocations: 12.03 kB / 432.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.1076, allocations: 124.6 kB / 432.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.1078, allocations: 140.2 kB / 432.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1088, allocations: 0.6427 MB / 433.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.1091, allocations: 159.6 kB / 433.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1092, allocations: 64.38 kB / 433.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1107, allocations: 0.9938 MB / 434.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1107, allocations: 0 / 434.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.1108, allocations: 32 kB / 434.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.1108, allocations: 16 kB / 434.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1121, allocations: 0.6286 MB / 435.2 MB, free: 10.83 MB / 366.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.004084/0.1162, allocations: 2.66 MB / 437.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.1186, allocations: 0.8285 MB / 438.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.1193, allocations: 322.7 kB / 439 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.1193, allocations: 20.64 kB / 439.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1194, allocations: 47.2 kB / 439.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 1.883e-06/0.1194, allocations: 0 / 439.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002555/0.1219, allocations: 1.405 MB / 440.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005885/0.1225, allocations: 0.9489 MB / 441.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009789/0.1235, allocations: 0.7864 MB / 442.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.1236, allocations: 45.7 kB / 442.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.1239, allocations: 417 kB / 442.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.1242, allocations: 273.6 kB / 443 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.1244, allocations: 158.6 kB / 443.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1246, allocations: 337.9 kB / 443.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.1251, allocations: 253.9 kB / 443.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.126, allocations: 0.5879 MB / 444.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.1272, allocations: 0.6639 MB / 445 MB, free: 400 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1272, allocations: 8 kB / 445 MB, free: 392 kB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.1562/0.2834, allocations: 0.9349 MB / 445.9 MB, free: 30.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.2835, allocations: 96.94 kB / 446 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2835, allocations: 0 / 446 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.2838, allocations: 127.5 kB / 446.1 MB, free: 29.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.2844, allocations: 151.8 kB / 446.3 MB, free: 29.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.288, allocations: 7.316 MB / 453.6 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.2888, allocations: 101.8 kB / 453.7 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.2888, allocations: 31.09 kB / 453.7 MB, free: 23.27 MB / 366.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.0003005/0.2891, allocations: 242.5 kB / 453.9 MB, free: 23.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2893, allocations: 108.6 kB / 454.1 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.2894, allocations: 101.9 kB / 454.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2894, allocations: 6.562 kB / 454.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.2894, allocations: 2.469 kB / 454.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.2905, allocations: 0.9717 MB / 455.1 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.2927, allocations: 1.745 MB / 456.9 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2927, allocations: 0.6562 kB / 456.9 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.2934, allocations: 158.8 kB / 457 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.2935, allocations: 24.31 kB / 457.1 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.2935, allocations: 17.62 kB / 457.1 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/0.2941, allocations: 1.407 MB / 458.5 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2941, allocations: 1.781 kB / 458.5 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2958, allocations: 1.083 MB / 459.6 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.2961, allocations: 261.5 kB / 459.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2962, allocations: 19.47 kB / 459.8 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.2968, allocations: 45.97 kB / 459.9 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.2969, allocations: 40.91 kB / 459.9 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.2969, allocations: 20.77 kB / 459.9 MB, free: 20.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.2977, allocations: 0.5484 MB / 460.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2977, allocations: 0.5 kB / 460.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006869/0.2983, allocations: 299.7 kB / 460.8 MB, free: 20.03 MB / 366.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.3003, allocations: 1.656 MB / 462.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.302, allocations: 1.358 MB / 463.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.302, allocations: 3.391 kB / 463.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.3025, allocations: 396.5 kB / 464.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3036, allocations: 286.4 kB / 464.5 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009653/0.3132, allocations: 7.848 MB / 472.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3136, allocations: 0.9825 MB / 473.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005595/0.3142, allocations: 126.5 kB / 473.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.3145, allocations: 354.3 kB / 473.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3145, allocations: 4 kB / 473.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/0.3751, allocations: 26.46 MB / 0.4885 GB, free: 9.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.8, allocations: 9 kB / 0.4885 GB, free: 9.941 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.18271599896252]