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.001313/0.001313, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001392/0.001392, allocations: 186 kB / 23.7 MB, free: 4.191 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.443/1.443, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.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: 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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.91 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009658/0.2646, allocations: 4.976 MB / 428 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.2679, allocations: 1.371 MB / 429.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.2684, allocations: 19.88 kB / 429.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.269, allocations: 202.3 kB / 429.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.2701, allocations: 392.7 kB / 430 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.2707, allocations: 259.6 kB / 430.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.2727, allocations: 1.362 MB / 431.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006148/0.2734, allocations: 263.8 kB / 431.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007781/0.2741, allocations: 0.5217 MB / 432.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009422/0.2751, allocations: 0.5015 MB / 432.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.2753, allocations: 120 kB / 433 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.2756, allocations: 120 kB / 433.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.276, allocations: 259 kB / 433.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.2767, allocations: 0.5096 MB / 433.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.2784, allocations: 1.428 MB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2785, allocations: 0 / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2785, allocations: 0 / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.2785, allocations: 0 / 435.3 MB, free: 2.133 MB / 334.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.003615/0.2821, allocations: 1.44 MB / 436.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.2821, allocations: 12.92 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.2825, allocations: 132.2 kB / 436.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.284, allocations: 0.5746 MB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.2845, allocations: 305.9 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.2846, allocations: 68.36 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.2875, allocations: 1.853 MB / 439.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2876, allocations: 0 / 439.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.2877, allocations: 36 kB / 439.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.2877, allocations: 16 kB / 439.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.2897, allocations: 0.6129 MB / 440.4 MB, free: 12.63 MB / 350.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.005665/0.2954, allocations: 1.863 MB / 442.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.2993, allocations: 0.7492 MB / 443 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.3004, allocations: 314.7 kB / 443.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.3005, allocations: 20.59 kB / 443.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.3005, allocations: 47.22 kB / 443.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 4.008e-06/0.3006, allocations: 0 / 443.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.003778/0.3043, allocations: 1.028 MB / 444.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006723/0.305, allocations: 0.9489 MB / 445.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.3065, allocations: 0.7116 MB / 446 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.3067, allocations: 45.7 kB / 446.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.3072, allocations: 424.8 kB / 446.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.3076, allocations: 261.8 kB / 446.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004279/0.308, allocations: 158.6 kB / 446.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3082, allocations: 338 kB / 447.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.309, allocations: 340.8 kB / 447.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3105, allocations: 1.546 MB / 449.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3118, allocations: 0.6678 MB / 449.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3118, allocations: 0 / 449.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001941/0.3137, allocations: 1.019 MB / 450.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.3138, allocations: 97.03 kB / 450.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3138, allocations: 0 / 450.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.3141, allocations: 120.2 kB / 451 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.3149, allocations: 151.8 kB / 451.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.3215, allocations: 6.69 MB / 457.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.3224, allocations: 83.58 kB / 457.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.3224, allocations: 24 kB / 458 MB, free: 9.672 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.0004935/0.3229, allocations: 245.7 kB / 458.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.3231, allocations: 95.44 kB / 458.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3234, allocations: 96 kB / 458.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3234, allocations: 8 kB / 458.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3234, allocations: 3.938 kB / 458.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/0.325, allocations: 0.9738 MB / 459.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.328, allocations: 1.471 MB / 460.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.328, allocations: 0 / 460.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.3288, allocations: 151.8 kB / 461 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.3289, allocations: 24.84 kB / 461 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.329, allocations: 15.98 kB / 461 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.3301, allocations: 1.284 MB / 462.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3301, allocations: 0 / 462.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.3323, allocations: 1.074 MB / 463.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.3327, allocations: 179.2 kB / 463.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.3329, allocations: 20 kB / 463.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.3336, allocations: 43.83 kB / 463.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.3337, allocations: 48.56 kB / 463.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3337, allocations: 23.98 kB / 463.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007422/0.3345, allocations: 0.4951 MB / 464.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3345, allocations: 0 / 464.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000964/0.3354, allocations: 299.7 kB / 464.5 MB, free: 2.844 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.0002331/0.3357, allocations: 127.1 kB / 464.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.3381, allocations: 1.445 MB / 466.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3381, allocations: 4 kB / 466.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.3389, allocations: 402.5 kB / 466.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3401, allocations: 268.1 kB / 466.7 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.3434, allocations: 1.692 MB / 468.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3439, allocations: 389.2 kB / 468.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.3444, allocations: 122.9 kB / 468.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.3447, allocations: 75.42 kB / 469 MB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3447, allocations: 0 / 469 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.03433/0.379, allocations: 20.1 MB / 489.1 MB, free: 10.5 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.306139186024666]