Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009081/0.0009081, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8812/0.8812, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.777e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003913/0.003931, allocations: 4.988 MB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005948, allocations: 1.413 MB / 330.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.00622, allocations: 15.94 kB / 330.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.006559, allocations: 194.3 kB / 331.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.007046, allocations: 416.4 kB / 331.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.007388, allocations: 263.5 kB / 331.8 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009937/0.008382, allocations: 1.424 MB / 333.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.008719, allocations: 267.6 kB / 333.5 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.009376, allocations: 0.7836 MB / 334.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.00977, allocations: 438.7 kB / 334.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.009877, allocations: 124 kB / 334.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.009987, allocations: 120 kB / 334.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01011, allocations: 255.1 kB / 335.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.01038, allocations: 451 kB / 335.6 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.01122, allocations: 1.453 MB / 337.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01122, allocations: 0 / 337.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01122, allocations: 0 / 337.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.01123, allocations: 0 / 337.1 MB, free: 3.266 MB / 298.7 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.001443/0.01267, allocations: 1.428 MB / 338.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01271, allocations: 15.98 kB / 338.5 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.01285, allocations: 136.6 kB / 338.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.01298, allocations: 132.2 kB / 338.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/0.0136, allocations: 0.5816 MB / 339.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.0138, allocations: 309.9 kB / 339.7 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.01388, allocations: 68.38 kB / 339.7 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.01506, allocations: 1.861 MB / 341.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01507, allocations: 192 / 341.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.01512, allocations: 39.94 kB / 341.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01513, allocations: 16 kB / 341.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.01592, allocations: 0.6285 MB / 342.3 MB, free: 13.58 MB / 314.7 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.002458/0.01838, allocations: 1.98 MB / 344.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.01987, allocations: 0.7614 MB / 345 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.0203, allocations: 315.5 kB / 345.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.02034, allocations: 20.64 kB / 345.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.02036, allocations: 51.16 kB / 345.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.754e-06/0.02037, allocations: 0 / 345.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001454/0.02182, allocations: 1.03 MB / 346.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000276/0.0221, allocations: 0.945 MB / 347.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.02272, allocations: 0.7942 MB / 348.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.02277, allocations: 45.7 kB / 348.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.02298, allocations: 425 kB / 348.6 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.02311, allocations: 257.7 kB / 348.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.02326, allocations: 154.7 kB / 349 MB, free: 6.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.02334, allocations: 337.9 kB / 349.3 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.02371, allocations: 339 kB / 349.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.02449, allocations: 1.538 MB / 351.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.0252, allocations: 0.6678 MB / 351.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02521, allocations: 0 / 351.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001021/0.02623, allocations: 1.03 MB / 352.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.02628, allocations: 93.05 kB / 353 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02628, allocations: 4 kB / 353 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.0265, allocations: 124.2 kB / 353.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02684, allocations: 159.8 kB / 353.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.0303, allocations: 6.766 MB / 360.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.03067, allocations: 119.6 kB / 360.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.03071, allocations: 20 kB / 360.2 MB, free: 10.22 MB / 330.7 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.0002373/0.03095, allocations: 241.5 kB / 360.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.03104, allocations: 107.4 kB / 360.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.439e-05/0.03113, allocations: 100.9 kB / 360.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.03114, allocations: 8 kB / 360.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.03114, allocations: 0 / 360.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008158/0.03196, allocations: 0.9738 MB / 361.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.03355, allocations: 1.553 MB / 363.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03355, allocations: 0 / 363.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.03392, allocations: 151.8 kB / 363.3 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.484e-05/0.03399, allocations: 24.84 kB / 363.3 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.03401, allocations: 12 kB / 363.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.03461, allocations: 1.311 MB / 364.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03461, allocations: 4 kB / 364.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.03595, allocations: 1.078 MB / 365.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.03618, allocations: 191.1 kB / 365.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.03624, allocations: 20 kB / 365.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.03655, allocations: 39.97 kB / 366 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.03661, allocations: 48.5 kB / 366 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.03664, allocations: 24 kB / 366.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004267/0.03706, allocations: 0.5459 MB / 366.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03706, allocations: 0 / 366.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.03751, allocations: 291.8 kB / 366.9 MB, free: 3.199 MB / 330.7 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.001395/0.03891, allocations: 1.653 MB / 368.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.0401, allocations: 1.438 MB / 370 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0401, allocations: 0 / 370 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.04049, allocations: 410.5 kB / 370.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.04115, allocations: 267.1 kB / 370.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007677/0.04882, allocations: 8.147 MB / 378.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.04909, allocations: 394.2 kB / 379.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.04937, allocations: 127.5 kB / 379.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.04969, allocations: 360.4 kB / 379.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04969, allocations: 4 kB / 379.7 MB, free: 5.969 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.08928, allocations: 29.4 MB / 409 MB, free: 9.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.611, allocations: 19.81 kB / 409.1 MB, free: 9 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.289905712939799]