Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007675/0.0007675, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007937/0.0007937, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8643/0.8643, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.042e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003734/0.003745, allocations: 4.994 MB / 329.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.005724, allocations: 1.413 MB / 331 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.006084, allocations: 15.88 kB / 331 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.006451, allocations: 190.3 kB / 331.2 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.007013, allocations: 420.3 kB / 331.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.007462, allocations: 259.5 kB / 331.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.008519, allocations: 1.424 MB / 333.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.008855, allocations: 271.6 kB / 333.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.009556, allocations: 0.7834 MB / 334.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.009986, allocations: 438.8 kB / 334.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.0101, allocations: 116 kB / 334.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.01032, allocations: 120 kB / 335 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01044, allocations: 267.1 kB / 335.2 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.01079, allocations: 451.1 kB / 335.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.0119, allocations: 1.452 MB / 337.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.0119, allocations: 4 kB / 337.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0119, allocations: 0 / 337.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.01193, allocations: 0 / 337.1 MB, free: 3.301 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.001933/0.01387, allocations: 1.432 MB / 338.6 MB, free: 1.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01391, allocations: 8.031 kB / 338.6 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.01405, allocations: 136.6 kB / 338.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.0142, allocations: 140.2 kB / 338.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.01488, allocations: 0.5699 MB / 339.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.01505, allocations: 305.9 kB / 339.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.01512, allocations: 76.38 kB / 339.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.01663, allocations: 1.873 MB / 341.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.01665, allocations: 192 / 341.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.0167, allocations: 35.94 kB / 341.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01671, allocations: 16 kB / 341.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.01754, allocations: 0.6207 MB / 342.3 MB, free: 13.62 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.00258/0.02012, allocations: 1.988 MB / 344.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.02154, allocations: 0.7523 MB / 345.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.02198, allocations: 314.9 kB / 345.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.02202, allocations: 16.59 kB / 345.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.02205, allocations: 59.09 kB / 345.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.783e-06/0.02205, allocations: 4 kB / 345.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001522/0.02358, allocations: 1.025 MB / 346.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002913/0.02387, allocations: 0.9489 MB / 347.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.0245, allocations: 0.7942 MB / 348.2 MB, free: 7.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.02454, allocations: 41.7 kB / 348.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.02476, allocations: 421 kB / 348.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.02489, allocations: 261.7 kB / 348.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.02504, allocations: 154.7 kB / 349.1 MB, free: 6.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.02512, allocations: 341.9 kB / 349.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.02549, allocations: 331 kB / 349.7 MB, free: 5.836 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.02653, allocations: 1.55 MB / 351.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.02725, allocations: 0.6678 MB / 352 MB, free: 3.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.02725, allocations: 4 kB / 352 MB, free: 3.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001023/0.02827, allocations: 1.031 MB / 353 MB, free: 2.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.02832, allocations: 81.11 kB / 353.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02833, allocations: 4 kB / 353.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.02855, allocations: 132.2 kB / 353.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.02889, allocations: 147.8 kB / 353.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.03237, allocations: 6.774 MB / 360.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.03275, allocations: 103.4 kB / 360.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.03279, allocations: 31.98 kB / 360.2 MB, free: 10.26 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.0002274/0.03301, allocations: 241.6 kB / 360.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.03311, allocations: 103.4 kB / 360.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.0332, allocations: 104.9 kB / 360.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.03321, allocations: 8 kB / 360.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.03321, allocations: 0 / 360.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008066/0.03402, allocations: 0.9738 MB / 361.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.03561, allocations: 1.545 MB / 363.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.03561, allocations: 4 kB / 363.2 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.03598, allocations: 155.8 kB / 363.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-05/0.03603, allocations: 28.78 kB / 363.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.03606, allocations: 19.98 kB / 363.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.03684, allocations: 1.288 MB / 364.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.03684, allocations: 64 / 364.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.03826, allocations: 1.086 MB / 365.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.03891, allocations: 191.1 kB / 366 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.03901, allocations: 23.98 kB / 366 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.03939, allocations: 43.97 kB / 366 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.03947, allocations: 44.56 kB / 366.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.03949, allocations: 16 kB / 366.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005138/0.04001, allocations: 0.5536 MB / 366.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04001, allocations: 0 / 366.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.04057, allocations: 291.8 kB / 366.9 MB, free: 3.242 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.00177/0.04234, allocations: 1.66 MB / 368.6 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.04386, allocations: 1.43 MB / 370 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.04387, allocations: 0 / 370 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.04434, allocations: 402.2 kB / 370.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.04518, allocations: 275.4 kB / 370.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008654/0.05384, allocations: 8.155 MB / 378.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.05414, allocations: 390.2 kB / 379.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004377/0.05458, allocations: 127.5 kB / 379.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.05492, allocations: 360.4 kB / 379.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.05492, allocations: 0 / 379.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.1014, allocations: 29.43 MB / 409.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.451, allocations: 0 / 409.1 MB, free: 9.078 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 10.100959656760097]