Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006761/0.006761, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 259 MB, free: 8.012 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 64.78 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007623/0.3277, allocations: 5.668 MB / 438.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.3312, allocations: 1.458 MB / 440.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.3319, allocations: 19.81 kB / 440.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.3325, allocations: 194.3 kB / 440.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009628/0.3335, allocations: 400.7 kB / 440.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.3341, allocations: 263.6 kB / 441.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3359, allocations: 1.364 MB / 442.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.3363, allocations: 271.8 kB / 442.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.337, allocations: 0.5216 MB / 443.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/0.3378, allocations: 0.5874 MB / 443.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.338, allocations: 116 kB / 444 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3382, allocations: 124 kB / 444.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3384, allocations: 255.2 kB / 444.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.3391, allocations: 0.6144 MB / 445 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3407, allocations: 1.408 MB / 446.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3408, allocations: 0 / 446.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3408, allocations: 0 / 446.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.3408, allocations: 0 / 446.4 MB, free: 9.652 MB / 350.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.002941/0.3437, allocations: 1.444 MB / 447.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3438, allocations: 8.031 kB / 447.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.344, allocations: 136.2 kB / 448 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3451, allocations: 0.5707 MB / 448.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.3454, allocations: 159.6 kB / 448.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.3455, allocations: 72.38 kB / 448.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.3472, allocations: 0.963 MB / 449.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3472, allocations: 4 kB / 449.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.3473, allocations: 36 kB / 449.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3473, allocations: 19.98 kB / 449.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3487, allocations: 0.6168 MB / 450.4 MB, free: 5.414 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.004987/0.3536, allocations: 2.582 MB / 453 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.3564, allocations: 0.7471 MB / 453.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.3571, allocations: 323.4 kB / 454.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.243e-05/0.3572, allocations: 20.64 kB / 454.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.375e-05/0.3573, allocations: 47.2 kB / 454.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.717e-06/0.3573, allocations: 3.938 kB / 454.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002956/0.3603, allocations: 1.029 MB / 455.2 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006808/0.3609, allocations: 0.9527 MB / 456.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.3623, allocations: 0.7904 MB / 456.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.3624, allocations: 49.64 kB / 457 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.3628, allocations: 409.1 kB / 457.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.3632, allocations: 277.7 kB / 457.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.3635, allocations: 158.6 kB / 457.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3637, allocations: 334 kB / 458.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.3643, allocations: 249.9 kB / 458.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3654, allocations: 0.5811 MB / 458.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.3668, allocations: 0.6716 MB / 459.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.3668, allocations: 4 kB / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002755/0.3696, allocations: 0.9435 MB / 460.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.3697, allocations: 89.23 kB / 460.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3697, allocations: 4 kB / 460.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.3702, allocations: 124.2 kB / 460.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.3712, allocations: 151.8 kB / 460.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/0.3801, allocations: 6.813 MB / 467.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.3815, allocations: 107.4 kB / 467.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.3816, allocations: 24.05 kB / 467.9 MB, free: 2.727 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.0006956/0.3823, allocations: 241.7 kB / 468.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.3827, allocations: 107.3 kB / 468.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3831, allocations: 100.9 kB / 468.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3831, allocations: 8 kB / 468.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.3831, allocations: 0 / 468.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002206/0.3853, allocations: 0.9739 MB / 469.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.39, allocations: 1.716 MB / 471 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.39, allocations: 0 / 471 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.391, allocations: 155.8 kB / 471.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.3912, allocations: 24.84 kB / 471.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.3913, allocations: 15.98 kB / 471.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.3931, allocations: 1.3 MB / 472.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3931, allocations: 4.062 kB / 472.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.3964, allocations: 1.086 MB / 473.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/0.3972, allocations: 191.1 kB / 473.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.3976, allocations: 20 kB / 473.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.3986, allocations: 39.97 kB / 473.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3988, allocations: 44.56 kB / 473.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.3988, allocations: 19.98 kB / 473.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.4001, allocations: 0.5459 MB / 474.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 0 / 474.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4016, allocations: 299.7 kB / 474.7 MB, free: 11.54 MB / 382.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.0002809/0.4018, allocations: 127.1 kB / 474.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.4055, allocations: 1.354 MB / 476.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.4055, allocations: 4 kB / 476.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.4067, allocations: 402.2 kB / 476.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.4086, allocations: 283.3 kB / 476.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.4127, allocations: 1.751 MB / 478.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/0.4136, allocations: 0.9796 MB / 479.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.4139, allocations: 91.3 kB / 479.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4139, allocations: 0 / 479.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of Templates: time 0.0382/0.4521, allocations: 24.43 MB / 0.4923 GB, free: 14.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.021893223980442]