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.001834/0.001834, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001854/0.001854, allocations: 188.2 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.568/1.568, 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.001094/0.001094, allocations: 47.94 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 46.62 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2143/0.3162, allocations: 5.59 MB / 380.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3195, allocations: 1.467 MB / 382.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.3203, allocations: 13.56 kB / 382.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.321, allocations: 192 kB / 382.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.3219, allocations: 384.7 kB / 382.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.3226, allocations: 262.7 kB / 383 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.3249, allocations: 1.366 MB / 384.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.3257, allocations: 423.5 kB / 384.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.327, allocations: 0.5006 MB / 385.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.3279, allocations: 0.5848 MB / 385.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.3281, allocations: 120.3 kB / 386 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3284, allocations: 120.8 kB / 386.1 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.3286, allocations: 258.3 kB / 386.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006048/0.3293, allocations: 0.6123 MB / 387 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3312, allocations: 1.412 MB / 388.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3312, allocations: 0 / 388.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3312, allocations: 1.641 kB / 388.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.3312, allocations: 0 / 388.4 MB, free: 7.176 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.003241/0.3345, allocations: 1.513 MB / 389.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.3345, allocations: 9.969 kB / 389.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.3349, allocations: 129.2 kB / 390.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.336, allocations: 0.6448 MB / 390.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.3362, allocations: 154.3 kB / 390.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3364, allocations: 67.7 kB / 390.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.338, allocations: 0.9717 MB / 391.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.338, allocations: 4 kB / 391.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.3381, allocations: 34.41 kB / 391.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.3381, allocations: 17.66 kB / 392 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3397, allocations: 0.6193 MB / 392.6 MB, free: 4.625 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.004403/0.3441, allocations: 2.628 MB / 395.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.3466, allocations: 0.8698 MB / 396.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/0.3473, allocations: 350.2 kB / 396.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.3474, allocations: 15.2 kB / 396.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3475, allocations: 50.55 kB / 396.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.3475, allocations: 1.219 kB / 396.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002606/0.3501, allocations: 1.409 MB / 397.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.3503, allocations: 0.9575 MB / 398.8 MB, free: 412 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.3512, allocations: 0.7819 MB / 399.6 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.3513, allocations: 45.95 kB / 399.7 MB, free: 28 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.3517, allocations: 412.8 kB / 400.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.3519, allocations: 271 kB / 400.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.3523, allocations: 154.8 kB / 400.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3524, allocations: 333.6 kB / 400.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.353, allocations: 255.3 kB / 401.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.3539, allocations: 0.5877 MB / 401.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3551, allocations: 0.6622 MB / 402.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3551, allocations: 1.031 kB / 402.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001817/0.3569, allocations: 0.9623 MB / 403.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.357, allocations: 93.64 kB / 403.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.357, allocations: 1.812 kB / 403.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.3574, allocations: 123.6 kB / 403.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.3582, allocations: 150.8 kB / 403.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.3642, allocations: 7.329 MB / 411 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3656, allocations: 109.3 kB / 411.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.3657, allocations: 33.83 kB / 411.1 MB, free: 6.047 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.0004712/0.3662, allocations: 233.1 kB / 411.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.3664, allocations: 104.6 kB / 411.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.3666, allocations: 104 kB / 411.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3666, allocations: 7.75 kB / 411.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.3666, allocations: 0 / 411.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/0.3682, allocations: 0.9738 MB / 412.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.3714, allocations: 1.746 MB / 414.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3715, allocations: 1.125 kB / 414.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.3723, allocations: 156.1 kB / 414.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.3724, allocations: 29.06 kB / 414.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3725, allocations: 15.66 kB / 414.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.3736, allocations: 1.411 MB / 415.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3736, allocations: 4.062 kB / 415.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.3759, allocations: 1.075 MB / 417 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.3765, allocations: 268.6 kB / 417.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3767, allocations: 15.78 kB / 417.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.3773, allocations: 39.09 kB / 417.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3775, allocations: 46.31 kB / 417.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.3775, allocations: 20.58 kB / 417.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000726/0.3782, allocations: 0.5467 MB / 417.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3782, allocations: 0 / 417.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001095/0.3794, allocations: 295.4 kB / 418.2 MB, free: 0.8906 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.0002183/0.3796, allocations: 122 kB / 418.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.3825, allocations: 1.403 MB / 419.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.3825, allocations: 2.781 kB / 419.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.3834, allocations: 417.1 kB / 420.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.385, allocations: 285 kB / 420.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.3884, allocations: 1.711 MB / 422.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.389, allocations: 0.9792 MB / 423.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005978/0.3897, allocations: 127.5 kB / 423.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.3899, allocations: 75.44 kB / 423.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3899, allocations: 0 / 423.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.03298/0.4229, allocations: 17.84 MB / 441.1 MB, free: 11.29 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