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.001338/0.001338, allocations: 84.47 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001453/0.001453, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.463/1.463, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.112e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006627/0.006649, allocations: 4.998 MB / 330.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.009733, allocations: 1.412 MB / 331.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.01023, allocations: 17.28 kB / 331.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.01074, allocations: 187 kB / 331.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.01165, allocations: 424.4 kB / 332.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.01221, allocations: 261.2 kB / 332.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.0138, allocations: 1.418 MB / 333.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.01426, allocations: 272.4 kB / 334 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009836/0.01525, allocations: 0.787 MB / 334.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.0159, allocations: 434.1 kB / 335.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.01607, allocations: 122.5 kB / 335.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.0163, allocations: 119.3 kB / 335.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.01654, allocations: 261.3 kB / 335.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.01712, allocations: 454.6 kB / 336.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.01873, allocations: 1.447 MB / 337.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01873, allocations: 1.469 kB / 337.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01873, allocations: 0 / 337.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.01875, allocations: 0 / 337.6 MB, free: 8.102 MB / 302.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.002841/0.02159, allocations: 1.429 MB / 339 MB, free: 7.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.02163, allocations: 9.125 kB / 339.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.02187, allocations: 135.2 kB / 339.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.02293, allocations: 0.5816 MB / 339.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.02325, allocations: 309.9 kB / 340.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.02337, allocations: 68.38 kB / 340.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.02562, allocations: 1.853 MB / 342 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.02564, allocations: 4.188 kB / 342 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.02573, allocations: 36.12 kB / 342 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.02575, allocations: 19.98 kB / 342.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.02729, allocations: 0.6129 MB / 342.7 MB, free: 3.027 MB / 302.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.004006/0.03129, allocations: 1.857 MB / 344.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.03404, allocations: 0.759 MB / 345.3 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.03481, allocations: 318 kB / 345.6 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.03487, allocations: 16.64 kB / 345.6 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/0.03494, allocations: 47.22 kB / 345.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.424e-06/0.03494, allocations: 4 kB / 345.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002717/0.03766, allocations: 1.021 MB / 346.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000533/0.03819, allocations: 0.9489 MB / 347.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.03916, allocations: 0.7117 MB / 348.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.03925, allocations: 49.64 kB / 348.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.03961, allocations: 424.8 kB / 348.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.03986, allocations: 261.7 kB / 349.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.04015, allocations: 154.7 kB / 349.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.04032, allocations: 337.9 kB / 349.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.04099, allocations: 335 kB / 349.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.04256, allocations: 1.546 MB / 351.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.04391, allocations: 0.66 MB / 352.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.04391, allocations: 0 / 352.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002031/0.04594, allocations: 1.031 MB / 353.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.04602, allocations: 89.09 kB / 353.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.04603, allocations: 0 / 353.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.04641, allocations: 124.2 kB / 353.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.04719, allocations: 151.8 kB / 353.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/0.05361, allocations: 6.671 MB / 360.1 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.05456, allocations: 99.45 kB / 360.2 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.05462, allocations: 23.94 kB / 360.2 MB, free: 80 kB / 318.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.0004333/0.05505, allocations: 241.6 kB / 360.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.05523, allocations: 95.44 kB / 360.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.05543, allocations: 100 kB / 360.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.05544, allocations: 4 kB / 360.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.05545, allocations: 4 kB / 360.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/0.05705, allocations: 0.9738 MB / 361.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.0599, allocations: 1.464 MB / 363.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.05991, allocations: 0 / 363.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.06074, allocations: 159.8 kB / 363.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.06085, allocations: 24.84 kB / 363.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.0609, allocations: 15.98 kB / 363.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.06196, allocations: 1.276 MB / 364.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.06196, allocations: 0 / 364.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.06416, allocations: 1.078 MB / 365.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.06455, allocations: 179.1 kB / 365.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.06468, allocations: 20 kB / 365.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.06541, allocations: 47.91 kB / 365.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.06553, allocations: 48.56 kB / 366 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.06557, allocations: 16 kB / 366 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006735/0.06625, allocations: 0.4951 MB / 366.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06625, allocations: 0 / 366.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008222/0.06707, allocations: 303.7 kB / 366.8 MB, free: 9.262 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.0001872/0.06726, allocations: 119.1 kB / 366.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.06961, allocations: 1.437 MB / 368.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.06961, allocations: 4 kB / 368.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.07037, allocations: 402.6 kB / 368.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.07149, allocations: 262.7 kB / 369 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.07453, allocations: 1.581 MB / 370.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.07497, allocations: 393.2 kB / 370.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004692/0.07544, allocations: 122.9 kB / 371.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.07567, allocations: 76.48 kB / 371.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.07568, allocations: 0 / 371.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of Templates: time 0.03316/0.1088, allocations: 18.59 MB / 389.7 MB, free: 2.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] 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: 5.091584321111441]