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.001915/0.001915, allocations: 81.67 kB / 21.99 MB, free: 4.75 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.002544/0.002544, allocations: 157.8 kB / 25.24 MB, free: 2.742 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.366/1.366, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.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.00179/0.00179, allocations: 62.52 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3133, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01156/0.3249, allocations: 4.958 MB / 353.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004335/0.3292, allocations: 1.426 MB / 354.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.3304, allocations: 15.88 kB / 354.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3315, allocations: 190.3 kB / 355.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.3335, allocations: 400.7 kB / 355.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3346, allocations: 263.6 kB / 355.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3374, allocations: 1.363 MB / 357.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.3381, allocations: 255.8 kB / 357.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.3392, allocations: 0.5255 MB / 357.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3407, allocations: 0.4976 MB / 358.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.3411, allocations: 116 kB / 358.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.3416, allocations: 124 kB / 358.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.342, allocations: 267 kB / 358.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007823/0.3428, allocations: 0.5096 MB / 359.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3445, allocations: 1.423 MB / 360.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3445, allocations: 0 / 360.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3445, allocations: 0 / 360.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.795e-05/0.3446, allocations: 3.938 kB / 360.8 MB, free: 3.172 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.003002/0.3476, allocations: 1.444 MB / 362.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3476, allocations: 15.98 kB / 362.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3478, allocations: 132.2 kB / 362.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3489, allocations: 0.5707 MB / 363 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.3493, allocations: 309.9 kB / 363.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3494, allocations: 72.38 kB / 363.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.3516, allocations: 1.861 MB / 365.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3516, allocations: 0 / 365.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.3517, allocations: 28 kB / 365.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3517, allocations: 16 kB / 365.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3531, allocations: 0.6207 MB / 365.9 MB, free: 13.65 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.004034/0.3571, allocations: 1.864 MB / 367.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.3598, allocations: 0.7457 MB / 368.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.3605, allocations: 318.7 kB / 368.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.3606, allocations: 8.656 kB / 368.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3606, allocations: 51.22 kB / 368.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.3606, allocations: 4 kB / 368.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002649/0.3633, allocations: 1.013 MB / 369.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005471/0.3638, allocations: 0.9566 MB / 370.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3648, allocations: 0.7116 MB / 371.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.3649, allocations: 45.7 kB / 371.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.3653, allocations: 424.7 kB / 372 MB, free: 7.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.3656, allocations: 269.7 kB / 372.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.3658, allocations: 166.6 kB / 372.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.3661, allocations: 334 kB / 372.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.3667, allocations: 336.8 kB / 373.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.3683, allocations: 1.546 MB / 374.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3696, allocations: 0.6639 MB / 375.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3696, allocations: 0 / 375.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001919/0.3715, allocations: 1.019 MB / 376.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.3716, allocations: 93.09 kB / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3716, allocations: 0 / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.3719, allocations: 124.2 kB / 376.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.3726, allocations: 151.8 kB / 376.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.3792, allocations: 6.678 MB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.3801, allocations: 99.39 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.3802, allocations: 20 kB / 383.4 MB, free: 10.69 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.0004248/0.3806, allocations: 241.8 kB / 383.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.3808, allocations: 99.44 kB / 383.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.381, allocations: 96.28 kB / 383.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.381, allocations: 8 kB / 383.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.381, allocations: 11.86 kB / 383.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.3826, allocations: 0.9738 MB / 384.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.3855, allocations: 1.46 MB / 386.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3855, allocations: 4 kB / 386.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.3863, allocations: 159.8 kB / 386.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-05/0.3864, allocations: 24.84 kB / 386.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.3865, allocations: 19.98 kB / 386.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3876, allocations: 1.272 MB / 387.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3876, allocations: 4.062 kB / 387.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3897, allocations: 1.074 MB / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.3901, allocations: 175.2 kB / 389.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.3903, allocations: 20 kB / 389.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.3909, allocations: 40.2 kB / 389.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.391, allocations: 44.56 kB / 389.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.3911, allocations: 23.98 kB / 389.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006988/0.3918, allocations: 0.4912 MB / 389.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3918, allocations: 0 / 389.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.3926, allocations: 303.6 kB / 390 MB, free: 3.867 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.0001898/0.3928, allocations: 127.1 kB / 390.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.3953, allocations: 1.441 MB / 391.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3953, allocations: 256 / 391.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.396, allocations: 406.3 kB / 391.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3971, allocations: 258.6 kB / 392.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.4001, allocations: 1.707 MB / 393.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4005, allocations: 385.2 kB / 394.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004638/0.401, allocations: 122.9 kB / 394.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4012, allocations: 76.48 kB / 394.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4012, allocations: 0 / 394.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Templates: time 0.03413/0.4353, allocations: 18.78 MB / 413.2 MB, free: 12.33 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/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.3713170980336145]