Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001874/0.001874, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.0023/0.0023, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 55.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2643, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005551/0.2698, allocations: 4.966 MB / 401.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.2727, allocations: 1.419 MB / 403.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.2733, allocations: 14.28 kB / 403.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.2738, allocations: 202.1 kB / 403.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.2745, allocations: 396.6 kB / 403.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.275, allocations: 257.2 kB / 404.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2762, allocations: 1.36 MB / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.2766, allocations: 261.8 kB / 405.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.2772, allocations: 0.5253 MB / 406.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.2777, allocations: 0.5035 MB / 406.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.2779, allocations: 118.2 kB / 406.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.2781, allocations: 124.5 kB / 407 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2783, allocations: 250.3 kB / 407.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.2787, allocations: 0.5215 MB / 407.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2802, allocations: 1.412 MB / 409.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2802, allocations: 0 / 409.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2802, allocations: 1.062 kB / 409.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.2802, allocations: 4 kB / 409.1 MB, free: 2.098 MB / 318.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.002391/0.2826, allocations: 1.44 MB / 410.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2827, allocations: 17.06 kB / 410.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2829, allocations: 133.1 kB / 410.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.2838, allocations: 0.5795 MB / 411.3 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.284, allocations: 308.9 kB / 411.6 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2841, allocations: 66.25 kB / 411.7 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.2863, allocations: 1.857 MB / 413.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2863, allocations: 4 kB / 413.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.2864, allocations: 34.31 kB / 413.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2864, allocations: 16.03 kB / 413.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2878, allocations: 0.6135 MB / 414.2 MB, free: 13.97 MB / 334.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.004002/0.2918, allocations: 1.856 MB / 416.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.2943, allocations: 0.7527 MB / 416.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.2951, allocations: 326.9 kB / 417.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.2951, allocations: 10.5 kB / 417.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.2952, allocations: 48.06 kB / 417.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.2952, allocations: 0 / 417.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002806/0.298, allocations: 1.016 MB / 418.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005761/0.2986, allocations: 0.9537 MB / 419.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.2996, allocations: 0.71 MB / 419.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.2997, allocations: 49.86 kB / 419.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.3001, allocations: 427.6 kB / 420.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.3004, allocations: 267.9 kB / 420.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.3007, allocations: 164 kB / 420.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3008, allocations: 332.8 kB / 421.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.3015, allocations: 337.1 kB / 421.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.3031, allocations: 1.549 MB / 423 MB, free: 6.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3043, allocations: 0.6643 MB / 423.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3043, allocations: 5.344 kB / 423.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001869/0.3062, allocations: 1.02 MB / 424.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.3063, allocations: 88.03 kB / 424.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3063, allocations: 1.469 kB / 424.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.3066, allocations: 127.5 kB / 424.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.3074, allocations: 157.7 kB / 425 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.3137, allocations: 6.674 MB / 431.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/0.3146, allocations: 99.36 kB / 431.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.3147, allocations: 28 kB / 431.8 MB, free: 14.35 MB / 350.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.0004688/0.3152, allocations: 233.7 kB / 432 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3154, allocations: 99.44 kB / 432.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3156, allocations: 96.06 kB / 432.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3156, allocations: 8 kB / 432.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.3156, allocations: 3.938 kB / 432.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/0.3171, allocations: 0.97 MB / 433.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.32, allocations: 1.464 MB / 434.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.32, allocations: 3.984 kB / 434.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.3208, allocations: 151.8 kB / 434.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.232e-05/0.3209, allocations: 28.84 kB / 434.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.3209, allocations: 15.98 kB / 434.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.322, allocations: 1.284 MB / 436.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.322, allocations: 0 / 436.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.3241, allocations: 1.078 MB / 437.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.3245, allocations: 179.2 kB / 437.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3247, allocations: 16 kB / 437.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.3253, allocations: 39.97 kB / 437.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3254, allocations: 48.56 kB / 437.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.3255, allocations: 19.98 kB / 437.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000658/0.3261, allocations: 0.4912 MB / 438 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3261, allocations: 4 kB / 438 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00079/0.3269, allocations: 303.6 kB / 438.3 MB, free: 7.531 MB / 350.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.0001795/0.3271, allocations: 127.1 kB / 438.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.3294, allocations: 1.43 MB / 439.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3294, allocations: 4 kB / 439.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.3301, allocations: 402.2 kB / 440.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3313, allocations: 274.9 kB / 440.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.3344, allocations: 1.688 MB / 442.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3348, allocations: 389.2 kB / 442.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.3353, allocations: 126.9 kB / 442.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.3355, allocations: 71.44 kB / 442.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3355, allocations: 0 / 442.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Templates: time 0.0345/0.37, allocations: 20.09 MB / 462.9 MB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.472953412681818]