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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=3000,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=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 110.5 kB / 17.73 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 187 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.92 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09818, allocations: 46.61 MB / 375.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2189/0.3172, allocations: 5.59 MB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3202, allocations: 1.465 MB / 382.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.3206, allocations: 13.56 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3212, allocations: 202.7 kB / 382.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.3219, allocations: 383.1 kB / 382.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.3225, allocations: 257.6 kB / 383 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.3239, allocations: 1.369 MB / 384.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.3245, allocations: 410.4 kB / 384.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.3251, allocations: 0.5116 MB / 385.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.3258, allocations: 0.5809 MB / 385.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.326, allocations: 118.6 kB / 386 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.3262, allocations: 124.3 kB / 386.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3264, allocations: 258.4 kB / 386.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.327, allocations: 0.6131 MB / 387 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3285, allocations: 1.405 MB / 388.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3285, allocations: 0 / 388.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3286, allocations: 0.7969 kB / 388.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.3286, allocations: 0 / 388.4 MB, free: 7.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.00283/0.3314, allocations: 1.48 MB / 389.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3315, allocations: 9.188 kB / 389.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.3318, allocations: 124.6 kB / 390 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.3329, allocations: 0.6357 MB / 390.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.3332, allocations: 158.2 kB / 390.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.3333, allocations: 65.62 kB / 390.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.335, allocations: 0.9764 MB / 391.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.335, allocations: 0.9062 kB / 391.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.3351, allocations: 35.59 kB / 391.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.3351, allocations: 16.88 kB / 391.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3365, allocations: 0.6192 MB / 392.5 MB, free: 4.664 MB / 318.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.004505/0.341, allocations: 2.631 MB / 395.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.3439, allocations: 0.862 MB / 396 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.3447, allocations: 351.9 kB / 396.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.3448, allocations: 14.48 kB / 396.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.3448, allocations: 51.73 kB / 396.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.855e-06/0.3448, allocations: 4 kB / 396.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002624/0.3475, allocations: 1.403 MB / 397.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.3477, allocations: 0.9495 MB / 398.8 MB, free: 464 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3488, allocations: 0.7865 MB / 399.6 MB, free: 120 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3489, allocations: 49.3 kB / 399.6 MB, free: 72 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.3492, allocations: 409.3 kB / 400 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.3495, allocations: 249.7 kB / 400.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.3498, allocations: 156.1 kB / 400.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3499, allocations: 335.3 kB / 400.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.3505, allocations: 254.8 kB / 401 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.3514, allocations: 0.5923 MB / 401.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3527, allocations: 0.6624 MB / 402.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3527, allocations: 0 / 402.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001956/0.3546, allocations: 0.9469 MB / 403.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.3547, allocations: 94.62 kB / 403.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3547, allocations: 1.094 kB / 403.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.3551, allocations: 125.5 kB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.3558, allocations: 155.5 kB / 403.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.3616, allocations: 7.323 MB / 410.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3628, allocations: 104.6 kB / 411 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.3629, allocations: 34.05 kB / 411 MB, free: 6.129 MB / 334.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.0005183/0.3634, allocations: 237 kB / 411.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3636, allocations: 101.2 kB / 411.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.3638, allocations: 99.16 kB / 411.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3638, allocations: 6.688 kB / 411.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.3639, allocations: 5.031 kB / 411.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/0.3654, allocations: 0.9733 MB / 412.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.3682, allocations: 1.748 MB / 414.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3683, allocations: 1.438 kB / 414.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.3691, allocations: 152.2 kB / 414.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.3692, allocations: 29.62 kB / 414.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.3692, allocations: 19.98 kB / 414.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3703, allocations: 1.406 MB / 415.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3703, allocations: 1.094 kB / 415.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.3724, allocations: 1.078 MB / 416.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.3728, allocations: 258.3 kB / 417.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3729, allocations: 19.84 kB / 417.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.3736, allocations: 35.12 kB / 417.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3737, allocations: 45.22 kB / 417.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.3738, allocations: 20.11 kB / 417.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007347/0.3745, allocations: 0.5515 MB / 417.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3745, allocations: 0 / 417.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008854/0.3754, allocations: 292.9 kB / 418.1 MB, free: 0.9883 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.0001852/0.3756, allocations: 125.5 kB / 418.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3779, allocations: 1.393 MB / 419.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3779, allocations: 1.438 kB / 419.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.3786, allocations: 425.6 kB / 420 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3798, allocations: 285.4 kB / 420.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.3828, allocations: 1.675 MB / 421.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.3833, allocations: 0.9785 MB / 422.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.3839, allocations: 131.5 kB / 423.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3841, allocations: 79.36 kB / 423.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3841, allocations: 0 / 423.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Templates: time 0.0304/0.4146, allocations: 17.83 MB / 441 MB, free: 11.42 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (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) 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) Reference file matches